	.file	"369881.c"
	.intel_syntax noprefix
	.text
	.globl	min
	.type	min, @function
min:
.LFB0:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -4[rbp], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	min, .-min
	.globl	max
	.type	max, @function
max:
.LFB1:
	.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	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L3
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -8[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	max, .-max
	.globl	gray_scale
	.type	gray_scale, @function
gray_scale:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	movzx	eax, WORD PTR [rax]
	movzx	esi, ax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 2
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 4
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	eax, esi
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	mov	WORD PTR [rax], si
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 2
	mov	WORD PTR [rax], si
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 4
	mov	WORD PTR [rax], si
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	eax, DWORD PTR 1572884[rbp]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L8
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR 1572884[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jb	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	lea	rax, 16[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gray_scale, .-gray_scale
	.globl	blur
	.type	blur, @function
blur:
.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -40[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	DWORD PTR -32[rbp], 0
	jmp	.L12
.L19:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L13
.L18:
	mov	WORD PTR -6[rbp], 0
	mov	WORD PTR -4[rbp], 0
	mov	WORD PTR -2[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	jmp	.L15
.L16:
	movzx	ecx, WORD PTR -6[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	movzx	eax, WORD PTR [rax]
	add	eax, ecx
	mov	WORD PTR -6[rbp], ax
	movzx	ecx, WORD PTR -4[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	add	rax, 2
	movzx	eax, WORD PTR [rax]
	add	eax, ecx
	mov	WORD PTR -4[rbp], ax
	movzx	ecx, WORD PTR -2[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	add	rax, 4
	movzx	eax, WORD PTR [rax]
	add	eax, ecx
	mov	WORD PTR -2[rbp], ax
	add	DWORD PTR -20[rbp], 1
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L16
	add	DWORD PTR -24[rbp], 1
.L14:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jle	.L17
	movzx	eax, WORD PTR -6[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	WORD PTR -6[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -2[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	WORD PTR -2[rbp], ax
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	movzx	edx, WORD PTR -6[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	WORD PTR [rax], dx
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	movzx	edx, WORD PTR -4[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	add	rax, 2
	mov	WORD PTR [rax], dx
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, [rdx+rax]
	movzx	edx, WORD PTR -2[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	add	rax, 4
	mov	WORD PTR [rax], dx
	add	DWORD PTR -28[rbp], 1
.L13:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jb	.L18
	add	DWORD PTR -32[rbp], 1
.L12:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L19
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	blur, .-blur
	.globl	rotate_90_rigth
	.type	rotate_90_rigth, @function
rotate_90_rigth:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1572864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 48
	mov	QWORD PTR -1572904[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 1572884[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR 1572880[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -1572896[rbp], 0
	mov	DWORD PTR -1572892[rbp], 0
	jmp	.L21
.L24:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	DWORD PTR -1572888[rbp], eax
	mov	DWORD PTR -1572884[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -1572892[rbp]
	mov	edx, DWORD PTR -1572884[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572888[rbp]
	cdqe
	mov	esi, DWORD PTR -1572896[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572880
	mov	WORD PTR [rax], cx
	mov	eax, DWORD PTR -1572892[rbp]
	mov	edx, DWORD PTR -1572884[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 2
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572888[rbp]
	cdqe
	mov	esi, DWORD PTR -1572896[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572878
	mov	WORD PTR [rax], cx
	mov	eax, DWORD PTR -1572892[rbp]
	mov	edx, DWORD PTR -1572884[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 4
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572888[rbp]
	cdqe
	mov	esi, DWORD PTR -1572896[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572876
	mov	WORD PTR [rax], cx
	sub	DWORD PTR -1572888[rbp], 1
	add	DWORD PTR -1572884[rbp], 1
.L22:
	cmp	DWORD PTR -1572888[rbp], 0
	jns	.L23
	add	DWORD PTR -1572896[rbp], 1
	add	DWORD PTR -1572892[rbp], 1
.L21:
	mov	eax, DWORD PTR -12[rbp]
	cmp	DWORD PTR -1572896[rbp], eax
	jb	.L24
	mov	rax, QWORD PTR -1572904[rbp]
	mov	rcx, rax
	lea	rax, -1572880[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	mov	rax, QWORD PTR -1572904[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	rotate_90_rigth, .-rotate_90_rigth
	.globl	invert_colors
	.type	invert_colors, @function
invert_colors:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -8[rbp], 0
	jmp	.L28
.L31:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L29
.L30:
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movzx	esi, WORD PTR [rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, 255
	sub	eax, esi
	mov	ecx, eax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	WORD PTR [rax], cx
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 2
	movzx	esi, WORD PTR [rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, 255
	sub	eax, esi
	mov	ecx, eax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	add	rax, 2
	mov	WORD PTR [rax], cx
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 4
	movzx	esi, WORD PTR [rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, 255
	sub	eax, esi
	mov	ecx, eax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	add	rax, 4
	mov	WORD PTR [rax], cx
	add	DWORD PTR -4[rbp], 1
.L29:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L30
	add	DWORD PTR -8[rbp], 1
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jb	.L31
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	invert_colors, .-invert_colors
	.globl	cut_image
	.type	cut_image, @function
cut_image:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1572864[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 64
	mov	QWORD PTR -1572904[rbp], rdi
	mov	DWORD PTR -1572908[rbp], esi
	mov	DWORD PTR -1572912[rbp], edx
	mov	DWORD PTR -1572916[rbp], ecx
	mov	DWORD PTR -1572920[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -1572916[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -1572920[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -1572888[rbp], 0
	jmp	.L33
.L36:
	mov	DWORD PTR -1572884[rbp], 0
	jmp	.L34
.L35:
	mov	edx, DWORD PTR -1572888[rbp]
	mov	eax, DWORD PTR -1572912[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -1572884[rbp]
	mov	eax, DWORD PTR -1572908[rbp]
	add	eax, ecx
	cdqe
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572884[rbp]
	cdqe
	mov	edx, DWORD PTR -1572888[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572880
	mov	WORD PTR [rax], cx
	mov	edx, DWORD PTR -1572888[rbp]
	mov	eax, DWORD PTR -1572912[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -1572884[rbp]
	mov	eax, DWORD PTR -1572908[rbp]
	add	eax, ecx
	cdqe
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 2
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572884[rbp]
	cdqe
	mov	edx, DWORD PTR -1572888[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572878
	mov	WORD PTR [rax], cx
	mov	edx, DWORD PTR -1572888[rbp]
	mov	eax, DWORD PTR -1572912[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -1572884[rbp]
	mov	eax, DWORD PTR -1572908[rbp]
	add	eax, ecx
	cdqe
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 4
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572884[rbp]
	cdqe
	mov	edx, DWORD PTR -1572888[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, rbp
	sub	rax, 1572876
	mov	WORD PTR [rax], cx
	add	DWORD PTR -1572884[rbp], 1
.L34:
	mov	eax, DWORD PTR -1572884[rbp]
	cmp	eax, DWORD PTR -1572916[rbp]
	jl	.L35
	add	DWORD PTR -1572888[rbp], 1
.L33:
	mov	eax, DWORD PTR -1572888[rbp]
	cmp	eax, DWORD PTR -1572920[rbp]
	jl	.L36
	mov	rax, QWORD PTR -1572904[rbp]
	mov	rcx, rax
	lea	rax, -1572880[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rax, QWORD PTR -1572904[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cut_image, .-cut_image
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%u %u %d"
.LC2:
	.string	"%hu %hu %hu"
.LC3:
	.string	"%d"
.LC13:
	.string	"%d %d"
.LC14:
	.string	"P3"
.LC15:
	.string	"%u %u\n255\n"
.LC16:
	.string	"%hu %hu %hu "
	.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	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	lea	r11, -3145728[rsp]
.LPSRL2:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL2
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -1573044[rbp]
	lea	rdx, -1572944[rbp]
	add	rdx, 1572868
	lea	rcx, -1572944[rbp]
	lea	rsi, 1572864[rcx]
	mov	rcx, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1573020[rbp], 0
	jmp	.L40
.L43:
	mov	DWORD PTR -1573016[rbp], 0
	jmp	.L41
.L42:
	lea	rsi, -1572944[rbp]
	mov	eax, DWORD PTR -1573016[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	ecx, DWORD PTR -1573020[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	add	rax, 4
	lea	rcx, [rsi+rax]
	lea	rdi, -1572944[rbp]
	mov	eax, DWORD PTR -1573016[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	esi, DWORD PTR -1573020[rbp]
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	add	rax, 2
	lea	rsi, [rdi+rax]
	lea	r8, -1572944[rbp]
	mov	eax, DWORD PTR -1573016[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	edi, DWORD PTR -1573020[rbp]
	mov	rax, rdi
	add	rax, rax
	add	rax, rdi
	sal	rax, 10
	add	rax, rdx
	add	rax, r8
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1573016[rbp], 1
.L41:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -1573016[rbp], eax
	jb	.L42
	add	DWORD PTR -1573020[rbp], 1
.L40:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -1573020[rbp], eax
	jb	.L43
	lea	rax, -1573040[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1573012[rbp], 0
	jmp	.L44
.L68:
	lea	rax, -1573036[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1573036[rbp]
	cmp	eax, 7
	ja	.L45
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L47[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L47[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L47:
	.long	.L45-.L47
	.long	.L53-.L47
	.long	.L52-.L47
	.long	.L51-.L47
	.long	.L50-.L47
	.long	.L49-.L47
	.long	.L48-.L47
	.long	.L46-.L47
	.text
.L53:
	lea	rbx, -3145936[rbp]
	sub	rsp, 8
	sub	rsp, 1572872
	mov	rax, rsp
	mov	rcx, rax
	lea	rax, -1572944[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rdi, rbx
	call	gray_scale
	add	rsp, 1572880
	lea	rax, -1572944[rbp]
	lea	rcx, -3145936[rbp]
	mov	edx, 1572872
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L45
.L52:
	mov	DWORD PTR -1573008[rbp], 0
	jmp	.L54
.L57:
	mov	DWORD PTR -1573004[rbp], 0
	jmp	.L55
.L56:
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572950[rbp], ax
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572948[rbp], ax
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572946[rbp], ax
	movzx	eax, WORD PTR -1572950[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572948[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572946[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -1572964[rbp], eax
	mov	eax, 255
	cmp	DWORD PTR -1572964[rbp], 255
	cmovle	eax, DWORD PTR -1572964[rbp]
	mov	DWORD PTR -1572960[rbp], eax
	mov	eax, DWORD PTR -1572960[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	mov	WORD PTR [rax], si
	movzx	eax, WORD PTR -1572950[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572948[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572946[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -1572964[rbp], eax
	mov	eax, 255
	cmp	DWORD PTR -1572964[rbp], 255
	cmovle	eax, DWORD PTR -1572964[rbp]
	mov	DWORD PTR -1572960[rbp], eax
	mov	eax, DWORD PTR -1572960[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	mov	WORD PTR [rax], si
	movzx	eax, WORD PTR -1572950[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572948[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movzx	eax, WORD PTR -1572946[rbp]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -1572964[rbp], eax
	mov	eax, 255
	cmp	DWORD PTR -1572964[rbp], 255
	cmovle	eax, DWORD PTR -1572964[rbp]
	mov	DWORD PTR -1572960[rbp], eax
	mov	eax, DWORD PTR -1572960[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -1573004[rbp]
	mov	ecx, DWORD PTR -1573008[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	mov	WORD PTR [rax], si
	add	DWORD PTR -1573004[rbp], 1
.L55:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -1573004[rbp], eax
	jb	.L56
	add	DWORD PTR -1573008[rbp], 1
.L54:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -1573008[rbp], eax
	jb	.L57
	jmp	.L45
.L51:
	mov	DWORD PTR -1572956[rbp], 0
	lea	rax, -1572956[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -1572956[rbp]
	mov	eax, DWORD PTR -76[rbp]
	lea	rsi, -1572944[rbp]
	mov	edi, eax
	call	blur
	jmp	.L45
.L50:
	mov	DWORD PTR -1572956[rbp], 0
	lea	rax, -1572956[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1572956[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -1572956[rbp], eax
	mov	DWORD PTR -1573000[rbp], 0
	jmp	.L58
.L59:
	lea	rbx, -3145936[rbp]
	sub	rsp, 8
	sub	rsp, 1572872
	mov	rax, rsp
	mov	rcx, rax
	lea	rax, -1572944[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rdi, rbx
	call	rotate_90_rigth
	add	rsp, 1572880
	lea	rax, -1572944[rbp]
	lea	rcx, -3145936[rbp]
	mov	edx, 1572872
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	add	DWORD PTR -1573000[rbp], 1
.L58:
	mov	eax, DWORD PTR -1572956[rbp]
	cmp	DWORD PTR -1573000[rbp], eax
	jl	.L59
	jmp	.L45
.L49:
	mov	DWORD PTR -1573024[rbp], 0
	lea	rax, -1573024[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -1572996[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -1572992[rbp], eax
	mov	eax, DWORD PTR -1573024[rbp]
	cmp	eax, 1
	jne	.L60
	mov	eax, DWORD PTR -1572996[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -1572996[rbp], eax
	jmp	.L61
.L60:
	mov	eax, DWORD PTR -1572992[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -1572992[rbp], eax
.L61:
	mov	DWORD PTR -1572988[rbp], 0
	jmp	.L62
.L67:
	mov	DWORD PTR -1572984[rbp], 0
	jmp	.L63
.L66:
	mov	eax, DWORD PTR -1572988[rbp]
	mov	DWORD PTR -1572980[rbp], eax
	mov	eax, DWORD PTR -1572984[rbp]
	mov	DWORD PTR -1572976[rbp], eax
	mov	eax, DWORD PTR -1573024[rbp]
	cmp	eax, 1
	jne	.L64
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -1572984[rbp]
	sub	eax, edx
	sub	eax, 1
	mov	DWORD PTR -1572976[rbp], eax
	jmp	.L65
.L64:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -1572988[rbp]
	sub	eax, edx
	sub	eax, 1
	mov	DWORD PTR -1572980[rbp], eax
.L65:
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572956[rbp], ax
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572954[rbp], ax
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -1572952[rbp], ax
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	mov	WORD PTR [rax], cx
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	mov	WORD PTR [rax], cx
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -1572984[rbp]
	cdqe
	mov	edx, DWORD PTR -1572988[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	mov	WORD PTR [rax], cx
	movzx	ecx, WORD PTR -1572956[rbp]
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	mov	WORD PTR [rax], cx
	movzx	ecx, WORD PTR -1572954[rbp]
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	mov	WORD PTR [rax], cx
	movzx	ecx, WORD PTR -1572952[rbp]
	mov	eax, DWORD PTR -1572976[rbp]
	cdqe
	mov	edx, DWORD PTR -1572980[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	mov	WORD PTR [rax], cx
	add	DWORD PTR -1572984[rbp], 1
.L63:
	mov	eax, DWORD PTR -1572984[rbp]
	cmp	eax, DWORD PTR -1572996[rbp]
	jl	.L66
	add	DWORD PTR -1572988[rbp], 1
.L62:
	mov	eax, DWORD PTR -1572988[rbp]
	cmp	eax, DWORD PTR -1572992[rbp]
	jl	.L67
	jmp	.L45
.L48:
	mov	edx, DWORD PTR -76[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	lea	rax, -1572944[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	invert_colors
	jmp	.L45
.L46:
	lea	rdx, -1573028[rbp]
	lea	rax, -1573032[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -1572956[rbp]
	lea	rax, -1573024[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	r15d, DWORD PTR -1572956[rbp]
	mov	r14d, DWORD PTR -1573024[rbp]
	mov	r13d, DWORD PTR -1573028[rbp]
	mov	r12d, DWORD PTR -1573032[rbp]
	lea	rbx, -3145936[rbp]
	sub	rsp, 8
	sub	rsp, 1572872
	mov	rax, rsp
	mov	rcx, rax
	lea	rax, -1572944[rbp]
	mov	edx, 1572872
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	r8d, r15d
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbx
	call	cut_image
	add	rsp, 1572880
	lea	rax, -1572944[rbp]
	lea	rcx, -3145936[rbp]
	mov	edx, 1572872
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
.L45:
	add	DWORD PTR -1573012[rbp], 1
.L44:
	mov	eax, DWORD PTR -1573040[rbp]
	cmp	DWORD PTR -1573012[rbp], eax
	jl	.L68
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1572972[rbp], 0
	jmp	.L69
.L72:
	mov	DWORD PTR -1572968[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -1572968[rbp]
	mov	ecx, DWORD PTR -1572972[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572892
	movzx	eax, WORD PTR [rax]
	movzx	ecx, ax
	mov	eax, DWORD PTR -1572968[rbp]
	mov	esi, DWORD PTR -1572972[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572894
	movzx	eax, WORD PTR [rax]
	movzx	esi, ax
	mov	eax, DWORD PTR -1572968[rbp]
	mov	edi, DWORD PTR -1572972[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rdi
	add	rax, rax
	add	rax, rdi
	sal	rax, 10
	add	rax, rdx
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 1572896
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1572968[rbp], 1
.L70:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -1572968[rbp], eax
	jb	.L71
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -1572972[rbp], 1
.L69:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -1572972[rbp], eax
	jb	.L72
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.long	2027224564
	.long	1071195881
	.align 8
.LC5:
	.long	-481036337
	.long	1072208805
	.align 8
.LC6:
	.long	-377957122
	.long	1070084390
	.align 8
.LC7:
	.long	412316860
	.long	1071011332
	.align 8
.LC8:
	.long	1168231105
	.long	1072034742
	.align 8
.LC9:
	.long	618475291
	.long	1069908230
	.align 8
.LC10:
	.long	-1340029796
	.long	1070688370
	.align 8
.LC11:
	.long	721554506
	.long	1071715975
	.align 8
.LC12:
	.long	-1511828488
	.long	1069597851
	.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	"369881.c"
	.text
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-8]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-8]
	b	.L4
.L3:
	ldr	r3, [fp, #-12]
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max, .-max
	.align	2
	.global	gray_scale
	.syntax unified
	.arm
	.fpu softvfp
	.type	gray_scale, %function
gray_scale:
	@ args = 1572876, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	mov	r0, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #6
	ldrh	r3, [r3]
	add	r0, r0, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	add	r3, r0, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L11
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #4
	strh	r0, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #6
	strh	r0, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	strh	r0, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L8
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L9
	ldr	r3, [fp, #-24]
	mov	r0, r3
	add	r3, fp, #8
	ldr	r2, .L11+4
	mov	r1, r3
	bl	memcpy
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L12:
	.align	2
.L11:
	.word	1431655766
	.word	1572872
	.size	gray_scale, .-gray_scale
	.global	__aeabi_idiv
	.align	2
	.global	blur
	.syntax unified
	.arm
	.fpu softvfp
	.type	blur, %function
blur:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L14
.L21:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L15
.L20:
	mov	r3, #0
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	min
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	min
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-48]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-36]
	sub	r3, r3, r2
	str	r3, [fp, #-28]
	b	.L16
.L19:
	ldr	r3, [fp, #-48]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	sub	r3, r3, r2
	str	r3, [fp, #-24]
	b	.L17
.L18:
	ldrh	r1, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	ldrh	r3, [r3]
	add	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldrh	r1, [fp, #-10]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	add	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r1, [fp, #-8]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	add	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L17:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L16:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L19
	ldrh	r3, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldrh	r3, [fp, #-10]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldrh	r1, [fp, #-12]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	strh	r1, [r3]	@ movhi
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldrh	r1, [fp, #-10]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r0, r3, r2
	ldrh	r1, [fp, #-8]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L15:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bcc	.L20
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L14:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L21
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	blur, .-blur
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rotate_90_rigth
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotate_90_rigth, %function
rotate_90_rigth:
	@ args = 1572876, pretend = 16, frame = 1572904
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1572864
	sub	sp, sp, #40
	sub	ip, fp, #1572864
	sub	ip, ip, #4
	str	r0, [ip, #-36]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r3, #8]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	str	r2, [r3, #4084]
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r3, #4]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	str	r2, [r3, #4088]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L23
.L26:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	sub	r3, r3, #1
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	str	r3, [r2, #-20]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	b	.L24
.L25:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-28]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #12
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #6
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-28]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #10
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-16]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-28]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #8
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	sub	r3, r3, #1
	str	r3, [r2, #-20]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	add	r3, r3, #1
	str	r3, [r2, #-16]
.L24:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bge	.L25
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L23:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4088]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r2, [r2, #-28]
	cmp	r2, r3
	bcc	.L26
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r2, [r3, #-36]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r0, r2
	sub	r3, r3, #12
	ldr	r2, .L29+4
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r0, [r3, #-36]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	1572872
	.size	rotate_90_rigth, .-rotate_90_rigth
	.align	2
	.global	invert_colors
	.syntax unified
	.arm
	.fpu softvfp
	.type	invert_colors, %function
invert_colors:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L32
.L35:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L33
.L34:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r0, r3, r2
	rsb	r3, r1, #255
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	strh	r1, [r3]	@ movhi
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r0, r3, r2
	rsb	r3, r1, #255
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #4
	ldrh	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r0, r3, r2
	rsb	r3, r1, #255
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L34
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L32:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L35
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	invert_colors, .-invert_colors
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cut_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	cut_image, %function
cut_image:
	@ args = 1572892, pretend = 16, frame = 1572896
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1572864
	sub	sp, sp, #32
	sub	ip, fp, #1572864
	sub	ip, ip, #4
	str	r0, [ip, #-28]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r3, #20]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	str	r2, [r3, #4084]
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r3, #24]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	add	r3, r3, #1556480
	add	r3, r3, #12288
	str	r2, [r3, #4088]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	b	.L37
.L40:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	b	.L38
.L39:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #16]
	add	r1, r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #12]
	add	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-20]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #12
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #16]
	add	r1, r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #12]
	add	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #6
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-20]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #10
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #16]
	add	r1, r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #12]
	add	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	sub	r2, fp, #1572864
	sub	r2, r2, #4
	ldr	r1, [r2, #-20]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #8
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-16]
	add	r3, r3, #1
	str	r3, [r2, #-16]
.L38:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	blt	.L39
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r3, [r3, #-20]
	add	r3, r3, #1
	str	r3, [r2, #-20]
.L37:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r2, r3
	add	r3, fp, #1572864
	add	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	blt	.L40
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r2, [r3, #-28]
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	mov	r0, r2
	sub	r3, r3, #12
	ldr	r2, .L43+4
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	r3, fp, #1572864
	sub	r3, r3, #4
	ldr	r0, [r3, #-28]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L44:
	.align	2
.L43:
	.word	.LC1
	.word	1572872
	.size	cut_image, .-cut_image
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"%u %u %d\000"
	.align	2
.LC4:
	.ascii	"%hu %hu %hu\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
.LC6:
	.ascii	"%d %d\000"
	.align	2
.LC7:
	.ascii	"P3\000"
	.align	2
.LC8:
	.ascii	"%u %u\012255\012\000"
	.align	2
.LC9:
	.ascii	"%hu %hu %hu \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3145856
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #4718592
	sub	sp, sp, #148
	ldr	r3, .L81+112
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L81
	bl	__isoc99_scanf
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	sub	r1, r1, #120
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #16
	add	r2, r3, #1572864
	add	r2, r2, #4
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #16
	add	r0, r3, #1572864
	mov	r3, r1
	mov	r1, r0
	ldr	r0, .L81+4
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-96]
	b	.L46
.L49:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-92]
	b	.L47
.L48:
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	sub	r1, r1, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r0, [r3, #-96]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	ip, r1, r3
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	sub	r1, r1, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r0, [r3, #-96]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r3, #2
	add	lr, r1, r3
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	sub	r1, r1, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r0, [r3, #-96]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r3, #4
	add	r3, r1, r3
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L81+8
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	add	r3, r3, #1
	str	r3, [r2, #-92]
.L47:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4080]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-92]
	cmp	r2, r3
	bcc	.L48
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-96]
	add	r3, r3, #1
	str	r3, [r2, #-96]
.L46:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-96]
	cmp	r2, r3
	bcc	.L49
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #116
	mov	r1, r3
	ldr	r0, .L81+12
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-88]
	b	.L50
.L74:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L81+12
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-112]
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L51
.L53:
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L55
	.word	.L54
	.word	.L52
.L59:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r6, r3
	sub	r4, fp, #3145728
	sub	r4, r4, #20
	sub	r4, r4, #128
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r5, r3
	mov	r0, sp
	sub	r3, r5, #4
	ldr	r2, .L81+92
	mov	r1, r3
	bl	memcpy
	sub	r3, r5, #16
	ldm	r3, {r1, r2, r3}
	mov	r0, r4
	bl	gray_scale
	sub	r3, fp, #3145728
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, r6, #16
	sub	r1, r2, #128
	ldr	r2, .L81+96
	mov	r0, r3
	bl	memcpy
	b	.L51
.L58:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-84]
	b	.L60
.L63:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-80]
	b	.L61
.L62:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #16
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-24]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #14
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-22]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #12
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-20]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+16
	ldr	r3, .L81+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-22]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+24
	ldr	r3, .L81+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+32
	ldr	r3, .L81+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-40]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-40]
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	str	r3, [r2, #-36]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #16
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+40
	ldr	r3, .L81+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-22]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+48
	ldr	r3, .L81+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+56
	ldr	r3, .L81+60
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-40]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-40]
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	str	r3, [r2, #-36]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #14
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+64
	ldr	r3, .L81+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-22]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+72
	ldr	r3, .L81+76
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r3, [r3, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L81+80
	ldr	r3, .L81+84
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-40]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-40]
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	str	r3, [r2, #-36]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-84]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #12
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	add	r3, r3, #1
	str	r3, [r2, #-80]
.L61:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4080]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-80]
	cmp	r2, r3
	bcc	.L62
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	add	r3, r3, #1
	str	r3, [r2, #-84]
.L60:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-84]
	cmp	r2, r3
	bcc	.L63
	b	.L51
.L57:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r1, r3
	ldr	r0, .L81+12
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r0, [r3, #4084]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r2, [r3, #-32]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4080]
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	sub	r1, r1, #16
	bl	blur
	b	.L51
.L56:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r1, r3
	ldr	r0, .L81+12
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-32]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	str	r3, [r2, #-32]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-76]
	b	.L64
.L65:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r6, r3
	sub	r4, fp, #3145728
	sub	r4, r4, #20
	sub	r4, r4, #128
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r5, r3
	mov	r0, sp
	sub	r3, r5, #4
	ldr	r2, .L81+92
	mov	r1, r3
	bl	memcpy
	sub	r3, r5, #16
	ldm	r3, {r1, r2, r3}
	mov	r0, r4
	bl	rotate_90_rigth
	sub	r3, fp, #3145728
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, r6, #16
	sub	r1, r2, #128
	ldr	r2, .L81+96
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-76]
	add	r3, r3, #1
	str	r3, [r2, #-76]
.L64:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-32]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-76]
	cmp	r2, r3
	blt	.L65
	b	.L51
.L55:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-100]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L81+12
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4080]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	str	r3, [r2, #-72]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	str	r3, [r2, #-68]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-100]
	cmp	r3, #1
	bne	.L66
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-72]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [r1, #-72]
	b	.L67
.L66:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-68]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [r1, #-68]
.L67:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-64]
	b	.L68
.L73:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-60]
	b	.L69
.L72:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	str	r3, [r2, #-56]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	str	r3, [r2, #-52]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-100]
	cmp	r3, #1
	bne	.L70
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r2, [r3, #4080]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r3, r2, r3
	sub	r3, r3, #1
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	str	r3, [r2, #-52]
	b	.L71
.L82:
	.align	2
.L81:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	2027224564
	.word	1071195881
	.word	-481036337
	.word	1072208805
	.word	-377957122
	.word	1070084390
	.word	412316860
	.word	1071011332
	.word	1168231105
	.word	1072034742
	.word	618475291
	.word	1069908230
	.word	-1340029796
	.word	1070688370
	.word	721554506
	.word	1071715975
	.word	-1511828488
	.word	1069597851
	.word	.LC6
	.word	1572860
	.word	1572872
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
.L70:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r2, [r3, #4084]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	sub	r3, r2, r3
	sub	r3, r3, #1
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	str	r3, [r2, #-56]
.L71:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #16
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-32]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #14
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-30]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #12
	ldrh	r3, [r3]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	strh	r3, [r2, #-28]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #16
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #16
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #14
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #14
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #12
	ldrh	r0, [r3]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-64]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #12
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r0, [r3, #-32]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #16
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r0, [r3, #-30]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #14
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldrh	r0, [r3, #-28]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-56]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, ip, r3
	sub	r3, r3, #12
	strh	r0, [r3]	@ movhi
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	add	r3, r3, #1
	str	r3, [r2, #-60]
.L69:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r2, [r2, #-60]
	ldr	r3, [r3, #-72]
	cmp	r2, r3
	blt	.L72
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L68:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L73
	b	.L51
.L54:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r1, [r3, #4080]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r2, [r3, #4084]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r0, r3
	bl	invert_colors
	b	.L51
.L52:
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	sub	r2, r2, #104
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L81+88
	bl	__isoc99_scanf
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	sub	r2, r2, #32
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	sub	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L81+88
	bl	__isoc99_scanf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r2, [r3, #-108]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-104]
	sub	r1, fp, #1572864
	sub	r1, r1, #20
	ldr	r1, [r1, #-100]
	sub	r0, fp, #1572864
	sub	r0, r0, #20
	ldr	r0, [r0, #-32]
	sub	ip, fp, #1572864
	sub	ip, ip, #20
	mov	r6, ip
	sub	r4, fp, #3145728
	sub	r4, r4, #20
	sub	r4, r4, #128
	sub	ip, fp, #1572864
	sub	ip, ip, #20
	mov	r5, ip
	add	ip, sp, #1572864
	str	r0, [ip, #8]
	add	r0, sp, #1572864
	str	r1, [r0, #4]
	add	r1, sp, #1572864
	str	r3, [r1]
	add	r3, sp, #1556480
	add	r3, r3, #12288
	str	r2, [r3, #4092]
	mov	r0, sp
	sub	r3, r5, #4
	ldr	r2, .L81+92
	mov	r1, r3
	bl	memcpy
	sub	r3, r5, #16
	ldm	r3, {r1, r2, r3}
	mov	r0, r4
	bl	cut_image
	sub	r3, fp, #3145728
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, r6, #16
	sub	r1, r2, #128
	ldr	r2, .L81+96
	mov	r0, r3
	bl	memcpy
	nop
.L51:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	add	r3, r3, #1
	str	r3, [r2, #-88]
.L50:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-116]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-88]
	cmp	r2, r3
	blt	.L74
	ldr	r0, .L81+100
	bl	puts
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r1, [r3, #4080]
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	mov	r2, r3
	ldr	r0, .L81+104
	bl	printf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	b	.L75
.L78:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L76
.L77:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-48]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #16
	ldrh	r3, [r3]
	mov	ip, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-48]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #14
	ldrh	r3, [r3]
	mov	lr, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r1, [r2, #-48]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #10
	add	r3, r2, r3
	add	r3, r0, r3
	sub	r3, r3, #12
	ldrh	r3, [r3]
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L81+108
	bl	printf
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L76:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4080]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-44]
	cmp	r2, r3
	bcc	.L77
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	ldr	r3, [r3, #-48]
	add	r3, r3, #1
	str	r3, [r2, #-48]
.L75:
	sub	r3, fp, #1572864
	sub	r3, r3, #20
	add	r3, r3, #1556480
	add	r3, r3, #12288
	ldr	r3, [r3, #4084]
	sub	r2, fp, #1572864
	sub	r2, r2, #20
	ldr	r2, [r2, #-48]
	cmp	r2, r3
	bcc	.L78
	mov	r3, #0
	ldr	r2, .L81+112
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L80
	bl	__stack_chk_fail
.L80:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
