	.file	"593624.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"image.txt"
.LC2:
	.string	"Cannot open file\n"
.LC3:
	.string	"%d"
.LC4:
	.string	"%d "
	.align 8
.LC5:
	.string	"----------------------------------------------------------------"
	.align 8
.LC6:
	.string	"\n---------------------------------------------"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 752
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 2323059704422936096
	mov	QWORD PTR -18[rbp], rax
	mov	WORD PTR -10[rbp], 8997
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -4840[rbp], rax
	cmp	QWORD PTR -4840[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -4848[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -4844[rbp], 0
	jmp	.L4
.L5:
	lea	rcx, -4832[rbp]
	mov	eax, DWORD PTR -4844[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -4848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -4840[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -4844[rbp], 1
.L4:
	cmp	DWORD PTR -4844[rbp], 29
	jle	.L5
	add	DWORD PTR -4848[rbp], 1
.L3:
	cmp	DWORD PTR -4848[rbp], 19
	jle	.L6
	lea	rdx, -2432[rbp]
	lea	rax, -4832[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	smooth_image
	mov	DWORD PTR -4848[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -4844[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4844[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -4832[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4844[rbp], 1
.L8:
	cmp	DWORD PTR -4844[rbp], 29
	jle	.L9
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4848[rbp], 1
.L7:
	cmp	DWORD PTR -4848[rbp], 19
	jle	.L10
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -4848[rbp], 0
	jmp	.L11
.L14:
	mov	DWORD PTR -4844[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4844[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -2432[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4844[rbp], 1
.L12:
	cmp	DWORD PTR -4844[rbp], 29
	jle	.L13
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4848[rbp], 1
.L11:
	cmp	DWORD PTR -4848[rbp], 19
	jle	.L14
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -4848[rbp], 0
	jmp	.L15
.L18:
	mov	DWORD PTR -4844[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -4844[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -4832[rbp+rax*4]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -4844[rbp], 1
.L16:
	cmp	DWORD PTR -4844[rbp], 29
	jle	.L17
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4848[rbp], 1
.L15:
	cmp	DWORD PTR -4848[rbp], 19
	jle	.L18
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -4848[rbp], 0
	jmp	.L19
.L22:
	mov	DWORD PTR -4844[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -4844[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4848[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -2432[rbp+rax*4]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -4844[rbp], 1
.L20:
	cmp	DWORD PTR -4844[rbp], 29
	jle	.L21
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4848[rbp], 1
.L19:
	cmp	DWORD PTR -4848[rbp], 19
	jle	.L22
	mov	rax, QWORD PTR -4840[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	smooth_image
	.type	smooth_image, @function
smooth_image:
.LFB7:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 1
	jmp	.L26
.L35:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L27
.L34:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L28
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L28
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L28
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L28
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, ecx
	lea	ecx, 3[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 2
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L33
.L28:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L33:
	add	DWORD PTR -4[rbp], 1
.L27:
	cmp	DWORD PTR -4[rbp], 28
	jle	.L34
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 18
	jle	.L35
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L36
.L42:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L37
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L37
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L37
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	jmp	.L41
.L37:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L41:
	add	DWORD PTR -4[rbp], 1
.L36:
	cmp	DWORD PTR -4[rbp], 28
	jle	.L42
	mov	DWORD PTR -8[rbp], 19
	mov	DWORD PTR -4[rbp], 1
	jmp	.L43
.L49:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L44
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L44
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L44
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	jmp	.L48
.L44:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L48:
	add	DWORD PTR -4[rbp], 1
.L43:
	cmp	DWORD PTR -4[rbp], 28
	jle	.L49
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 1
	jmp	.L50
.L56:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L51
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L51
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L51
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	jmp	.L55
.L51:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L55:
	add	DWORD PTR -8[rbp], 1
.L50:
	cmp	DWORD PTR -8[rbp], 18
	jle	.L56
	mov	DWORD PTR -4[rbp], 29
	mov	DWORD PTR -8[rbp], 1
	jmp	.L57
.L63:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L58
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L58
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L58
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	jmp	.L62
.L58:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L62:
	add	DWORD PTR -8[rbp], 1
.L57:
	cmp	DWORD PTR -8[rbp], 18
	jle	.L63
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L64
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L64
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L67
.L64:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L67:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 29
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	sub	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L68
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L68
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L71
.L68:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L71:
	mov	DWORD PTR -8[rbp], 19
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L72
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L72
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L75
.L72:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L75:
	mov	DWORD PTR -8[rbp], 19
	mov	DWORD PTR -4[rbp], 29
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L76
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm0, xmm1
	jbe	.L76
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, -120[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, ecx
	shr	eax, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L79
.L76:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	nop
.L79:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	smooth_image, .-smooth_image
	.section	.rodata
	.align 16
.LC7:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC8:
	.long	0
	.long	1072693248
	.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	"593624.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"image.txt\000"
	.align	2
.LC3:
	.ascii	"Cannot open file\012\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------\000"
	.align	2
.LC7:
	.ascii	"\012---------------------------------------------\000"
	.align	2
.LC0:
	.ascii	" .':~*= %#"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4800
	sub	sp, sp, #36
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L25+4
	sub	r3, fp, #28
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L25+8
	ldr	r0, .L25+12
	bl	fopen
	str	r0, [r4, #-724]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-724]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L25+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-732]
	b	.L3
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-728]
	b	.L4
.L5:
	sub	r2, fp, #4800
	sub	r2, r2, #12
	sub	r2, r2, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-732]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-728]
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L25+24
	ldr	r0, [r0, #-724]
	bl	__isoc99_fscanf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	add	r3, r3, #1
	str	r3, [r2, #-728]
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	cmp	r3, #29
	ble	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	str	r3, [r2, #-732]
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	cmp	r3, #19
	ble	.L6
	sub	r2, fp, #2416
	sub	r2, r2, #12
	sub	r3, fp, #4800
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r2
	mov	r0, r3
	bl	smooth_image
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-732]
	b	.L7
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-728]
	b	.L8
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-732]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-728]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-720]
	mov	r1, r3
	ldr	r0, .L25+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	add	r3, r3, #1
	str	r3, [r2, #-728]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	cmp	r3, #29
	ble	.L9
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	str	r3, [r2, #-732]
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	cmp	r3, #19
	ble	.L10
	ldr	r0, .L25+32
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-732]
	b	.L11
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-728]
	b	.L12
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-732]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-728]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-2416]
	mov	r1, r3
	ldr	r0, .L25+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	add	r3, r3, #1
	str	r3, [r2, #-728]
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	cmp	r3, #29
	ble	.L13
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	str	r3, [r2, #-732]
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	cmp	r3, #19
	ble	.L14
	ldr	r0, .L25+32
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-732]
	b	.L15
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-728]
	b	.L16
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-732]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-728]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-720]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-16]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	add	r3, r3, #1
	str	r3, [r2, #-728]
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	cmp	r3, #29
	ble	.L17
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	str	r3, [r2, #-732]
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	cmp	r3, #19
	ble	.L18
	ldr	r0, .L25+32
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-732]
	b	.L19
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-728]
	b	.L20
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-732]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-728]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-2416]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-16]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	add	r3, r3, #1
	str	r3, [r2, #-728]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	cmp	r3, #29
	ble	.L21
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	str	r3, [r2, #-732]
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	cmp	r3, #19
	ble	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-724]
	bl	fclose
	ldr	r0, .L25+36
	bl	puts
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.global	__aeabi_i2d
	.global	__aeabi_dcmpgt
	.align	2
	.global	smooth_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	smooth_image, %function
smooth_image:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #184
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L28
.L37:
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L29
.L36:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L106+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L106+4
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	bic	r9, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L106+4
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	mov	r3, r0
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L35
.L30:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L35:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L29:
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	ble	.L36
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L28:
	ldr	r3, [fp, #-36]
	cmp	r3, #18
	ble	.L37
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L38
.L44:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-56]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-64]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-72]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, .L106
	smull	ip, r2, r3, r0
	asr	r3, r0, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L43
.L39:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L43:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L38:
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	ble	.L44
	mov	r3, #19
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L45
.L51:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-80]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-88]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-96]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, .L106
	smull	ip, r2, r3, r0
	asr	r3, r0, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L50
.L46:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L50:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L45:
	ldr	r3, [fp, #-32]
	cmp	r3, #28
	ble	.L51
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L52
.L58:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-104]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-112]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-120]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, .L106
	smull	ip, r2, r3, r0
	asr	r3, r0, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L57
.L53:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L57:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L52:
	ldr	r3, [fp, #-36]
	cmp	r3, #18
	ble	.L58
	mov	r3, #29
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L59
.L65:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-132]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-128]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-140]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-136]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-148]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-144]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r3, #120
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, .L106
	smull	ip, r2, r3, r0
	asr	r3, r0, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L64
.L107:
	.align	2
.L106:
	.word	1431655766
	.word	1072693248
.L60:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L64:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L59:
	ldr	r3, [fp, #-36]
	cmp	r3, #18
	ble	.L65
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-152]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-164]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-160]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	add	r0, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	lsr	r3, r0, #31
	add	r3, r3, r0
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	b	.L69
.L66:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L69:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #29
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-172]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-168]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	sub	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-180]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-176]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	sub	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	add	r2, r1, r3
	ldr	r1, [fp, #-36]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	lsr	r1, r2, #31
	add	r2, r1, r2
	asr	r2, r2, #1
	mov	r1, r2
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	b	.L73
.L70:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r1, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
.L73:
	mov	r3, #19
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #120
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-188]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-184]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-196]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-192]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #120
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	add	r2, r1, r3
	ldr	r1, [fp, #-36]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	lsr	r1, r2, #31
	add	r2, r1, r2
	asr	r2, r2, #1
	mov	r1, r2
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	b	.L77
.L74:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r1, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
.L77:
	mov	r3, #19
	str	r3, [fp, #-36]
	mov	r3, #29
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #120
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-204]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-200]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #204
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	sub	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-212]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-208]
	mov	r2, #0
	ldr	r3, .L106+4
	sub	r1, fp, #212
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #120
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	sub	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	add	r2, r1, r3
	ldr	r1, [fp, #-36]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	lsr	r1, r2, #31
	add	r2, r1, r2
	asr	r2, r2, #1
	mov	r1, r2
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	b	.L81
.L78:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r1, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	nop
.L81:
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	smooth_image, .-smooth_image
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
