	.file	"595852.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"begin programm"
.LC1:
	.string	"geodat.dat"
.LC2:
	.string	"r"
.LC3:
	.string	"%d"
.LC4:
	.string	"%d %d"
.LC5:
	.string	"%lf"
.LC6:
	.string	"begin read options"
.LC7:
	.string	"Options.txt"
.LC8:
	.string	"begin read points"
.LC9:
	.string	"%lf %lf %lf"
	.align 8
.LC12:
	.string	" distanse between adjasent points, unequal points  %lf %lf \n"
.LC13:
	.string	"begin formig unuq point list "
.LC14:
	.string	"Points.txt"
.LC15:
	.string	"w"
.LC16:
	.string	"%lf %lf %lf\n"
	.align 8
.LC17:
	.string	"Number of different points is: s = %d,\nTotal number of frames is: sum = %d\n"
.LC18:
	.string	"NumCell.txt"
.LC19:
	.string	"%d "
	.align 8
.LC20:
	.string	"Successfully, number of different segments is: nseg = %d\n"
.LC21:
	.string	"Adjacent_0.txt"
.LC22:
	.string	"%d %d %d %d %d \n"
	.align 8
.LC23:
	.string	"Successfully filled array ribcell[2][nseg]"
.LC24:
	.string	"AdjacentFrames.txt"
.LC25:
	.string	"%d %d %d %d %d "
.LC26:
	.string	" 0 0"
.LC27:
	.string	"Adjacent_Doubled_Segments.txt"
	.align 8
.LC28:
	.string	"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d"
	.align 8
.LC29:
	.string	"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d \n"
.LC30:
	.string	"data.rwg"
.LC31:
	.string	"%d\n"
.LC32:
	.string	"%d %d %d %d\n"
.LC33:
	.string	"%d %d %d %d %d %d\n"
.LC34:
	.string	"%d %d\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 712
	.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
	mov	DWORD PTR -352[rbp], 0
	mov	DWORD PTR -348[rbp], 0
	mov	DWORD PTR -344[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, .LC1[rip]
	mov	QWORD PTR -272[rbp], rax
	mov	rax, QWORD PTR -272[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	lea	rax, -464[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -364[rbp], 0
	jmp	.L2
.L7:
	lea	rax, -460[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -460[rbp]
	add	DWORD PTR -352[rbp], eax
	mov	DWORD PTR -368[rbp], 0
	jmp	.L3
.L6:
	lea	rax, -456[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -452[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -452[rbp]
	add	DWORD PTR -344[rbp], eax
	lea	rdx, -444[rbp]
	lea	rax, -448[rbp]
	mov	rdi, QWORD PTR -264[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -452[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	mov	DWORD PTR -452[rbp], eax
	mov	DWORD PTR -372[rbp], 0
	jmp	.L4
.L5:
	lea	rax, -304[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -372[rbp], 1
.L4:
	mov	eax, DWORD PTR -452[rbp]
	cmp	DWORD PTR -372[rbp], eax
	jl	.L5
	add	DWORD PTR -368[rbp], 1
.L3:
	mov	eax, DWORD PTR -460[rbp]
	cmp	DWORD PTR -368[rbp], eax
	jl	.L6
	add	DWORD PTR -364[rbp], 1
.L2:
	mov	eax, DWORD PTR -464[rbp]
	cmp	DWORD PTR -364[rbp], eax
	jl	.L7
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, .LC7[rip]
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	lea	rax, -296[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -352[rbp]
	mov	rax, rsp
	mov	QWORD PTR -560[rbp], rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -248[rbp], rax
	movsx	rax, edx
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, edx
	sal	rax, 2
	mov	QWORD PTR -552[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -576[rbp], rax
	mov	QWORD PTR -568[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -592[rbp], rax
	mov	QWORD PTR -584[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L8:
	cmp	rsp, rcx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L10
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -240[rbp], rax
	mov	esi, DWORD PTR -344[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -232[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -608[rbp], rax
	mov	QWORD PTR -600[rbp], 0
	movsx	rax, esi
	lea	rbx, 0[0+rax*8]
	movsx	rax, esi
	mov	QWORD PTR -624[rbp], rax
	mov	QWORD PTR -616[rbp], 0
	movsx	rax, esi
	sal	rax, 5
	mov	r13, rax
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 768
	imul	rax, r14, 0
	lea	rcx, [rdx+rax]
	mov	eax, 768
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	movsx	rax, esi
	mov	QWORD PTR -480[rbp], rax
	mov	QWORD PTR -472[rbp], 0
	mov	r10, QWORD PTR -480[rbp]
	mov	r11, QWORD PTR -472[rbp]
	imul	rdx, r11, 768
	imul	rax, r10, 0
	lea	rcx, [rdx+rax]
	mov	eax, 768
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L11:
	cmp	rsp, rcx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L13
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -344[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	mov	rax, QWORD PTR -272[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	lea	rax, -464[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -364[rbp], 0
	jmp	.L14
.L21:
	lea	rax, -460[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -368[rbp], 0
	jmp	.L15
.L20:
	lea	rax, -456[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -452[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -444[rbp]
	lea	rax, -448[rbp]
	mov	rdi, QWORD PTR -264[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rcx, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR -356[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR [rcx+rdx*4], eax
	mov	DWORD PTR -372[rbp], 0
	jmp	.L16
.L19:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, r13
	shr	rdx, 3
	mov	rcx, rbx
	shr	rcx, 3
	mov	eax, DWORD PTR -344[rbp]
	movsx	rsi, eax
	add	rdx, rdx
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rax, rcx
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	lea	r8, [rdx+rax]
	mov	rsi, r13
	shr	rsi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	eax, DWORD PTR -344[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rax, rdx
	add	rax, rcx
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, rbx
	shr	rdx, 3
	mov	eax, DWORD PTR -344[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rdi, QWORD PTR -264[rbp]
	mov	rcx, rsi
	mov	rdx, rax
	lea	rsi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -376[rbp], 1
.L17:
	cmp	DWORD PTR -376[rbp], 3
	jle	.L18
	add	DWORD PTR -344[rbp], 1
	add	DWORD PTR -372[rbp], 1
.L16:
	mov	eax, DWORD PTR -452[rbp]
	cmp	DWORD PTR -372[rbp], eax
	jl	.L19
	mov	rsi, QWORD PTR -552[rbp]
	shr	rsi, 2
	mov	eax, DWORD PTR -344[rbp]
	lea	ecx, -1[rax]
	mov	rdx, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	add	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -356[rbp], 1
	add	DWORD PTR -368[rbp], 1
.L15:
	mov	eax, DWORD PTR -460[rbp]
	cmp	DWORD PTR -368[rbp], eax
	jl	.L20
	add	DWORD PTR -364[rbp], 1
.L14:
	mov	eax, DWORD PTR -464[rbp]
	cmp	DWORD PTR -364[rbp], eax
	jl	.L21
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -288[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -280[rbp], xmm0
	mov	DWORD PTR -364[rbp], 0
	jmp	.L22
.L32:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L23
.L31:
	mov	eax, DWORD PTR -368[rbp]
	add	eax, 1
	mov	DWORD PTR -376[rbp], eax
	cmp	DWORD PTR -376[rbp], 4
	jne	.L24
	mov	DWORD PTR -376[rbp], 0
.L24:
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rcx+rax*8]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rcx+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -64[rbp]
	jp	.L183
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -64[rbp]
	je	.L25
.L183:
	movsd	xmm0, QWORD PTR -288[rbp]
	comisd	xmm0, QWORD PTR -64[rbp]
	jbe	.L27
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -288[rbp], xmm0
.L27:
	movsd	xmm0, QWORD PTR -280[rbp]
	comisd	xmm0, QWORD PTR -64[rbp]
	jbe	.L25
	movsd	xmm1, QWORD PTR -296[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	comisd	xmm0, xmm1
	jbe	.L25
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -280[rbp], xmm0
.L25:
	add	DWORD PTR -368[rbp], 1
.L23:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L31
	add	DWORD PTR -364[rbp], 1
.L22:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L32
	movsd	xmm0, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -288[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, .LC14[rip]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -348[rbp], 0
	mov	eax, DWORD PTR -344[rbp]
	lea	esi, 0[0+rax*4]
	mov	rax, rsp
	mov	QWORD PTR -576[rbp], rax
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -200[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -640[rbp], rax
	mov	QWORD PTR -632[rbp], 0
	movsx	rax, esi
	sal	rax, 3
	mov	QWORD PTR -480[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -496[rbp], rax
	mov	QWORD PTR -488[rbp], 0
	mov	r10, QWORD PTR -496[rbp]
	mov	r11, QWORD PTR -488[rbp]
	imul	rdx, r11, 192
	imul	rax, r10, 0
	lea	rcx, [rdx+rax]
	mov	eax, 192
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	movsx	rax, esi
	mov	QWORD PTR -512[rbp], rax
	mov	QWORD PTR -504[rbp], 0
	mov	r14, QWORD PTR -512[rbp]
	mov	r15, QWORD PTR -504[rbp]
	imul	rdx, r15, 192
	imul	rax, r14, 0
	lea	rcx, [rdx+rax]
	mov	eax, 192
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L33:
	cmp	rsp, rcx
	je	.L34
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L33
.L34:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L35
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L35:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -192[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L36
.L50:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L37
.L49:
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	jmp	.L38
.L47:
	mov	DWORD PTR -360[rbp], 0
	jmp	.L39
.L44:
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rcx+rax*8]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rcx+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm1, QWORD PTR -296[rbp]
	movsd	xmm0, QWORD PTR -296[rbp]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -72[rbp]
	jbe	.L40
	mov	eax, DWORD PTR -380[rbp]
	cmp	eax, DWORD PTR -364[rbp]
	jl	.L42
	mov	eax, DWORD PTR -380[rbp]
	cmp	eax, DWORD PTR -364[rbp]
	jne	.L40
	mov	eax, DWORD PTR -360[rbp]
	cmp	eax, DWORD PTR -368[rbp]
	jge	.L40
.L42:
	mov	DWORD PTR -356[rbp], 1
	jmp	.L43
.L40:
	add	DWORD PTR -360[rbp], 1
.L39:
	cmp	DWORD PTR -360[rbp], 3
	jle	.L44
.L43:
	cmp	DWORD PTR -356[rbp], 1
	je	.L190
	add	DWORD PTR -380[rbp], 1
.L38:
	mov	eax, DWORD PTR -380[rbp]
	cmp	eax, DWORD PTR -364[rbp]
	jle	.L47
	jmp	.L46
.L190:
	nop
.L46:
	cmp	DWORD PTR -356[rbp], 0
	jne	.L48
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rsi+rax*8]
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	rax, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR -208[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rsi, .LC16[rip]
	mov	rdi, rdx
	mov	eax, 3
	call	fprintf@PLT
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	r14, QWORD PTR -480[rbp]
	mov	r8, r14
	shr	r8, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	add	rax, r8
	movsd	QWORD PTR [rdx+rax*8], xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	shr	r14, 3
	mov	r8, r14
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rcx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -348[rbp]
	movsx	rdx, eax
	lea	rax, [r8+r8]
	add	rax, rdx
	movsd	QWORD PTR [rcx+rax*8], xmm0
	add	DWORD PTR -348[rbp], 1
.L48:
	add	DWORD PTR -368[rbp], 1
.L37:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L49
	add	DWORD PTR -364[rbp], 1
.L36:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L50
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -344[rbp]
	mov	eax, DWORD PTR -348[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -344[rbp]
	mov	rax, rsp
	mov	QWORD PTR -592[rbp], rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -184[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -656[rbp], rax
	mov	QWORD PTR -648[rbp], 0
	movsx	rax, edx
	lea	r12, 0[0+rax*4]
	movsx	rax, edx
	mov	QWORD PTR -672[rbp], rax
	mov	QWORD PTR -664[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -688[rbp], rax
	mov	QWORD PTR -680[rbp], 0
	movsx	rax, edx
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L51:
	cmp	rsp, rcx
	je	.L52
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L51
.L52:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L53
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L53:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L54
.L62:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L55
.L61:
	mov	DWORD PTR -372[rbp], 0
	jmp	.L56
.L60:
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	movsd	xmm2, QWORD PTR [rdx+rax*8]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rsi, rbx
	shr	rsi, 3
	mov	rcx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	movsd	xmm2, QWORD PTR [rdx+rax*8]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	r15, QWORD PTR -480[rbp]
	mov	rcx, r15
	shr	rcx, 3
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rcx
	movsd	xmm3, QWORD PTR [rdx+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rcx]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rcx, r15
	shr	rcx, 3
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rcx
	movsd	xmm3, QWORD PTR [rdx+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rcx, r15
	shr	rcx, 3
	mov	rsi, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rdi, r13
	shr	rdi, 3
	mov	rdx, rbx
	shr	rdx, 3
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rdx, rax
	lea	rax, [rdi+rdi]
	add	rax, rcx
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rcx, r15
	shr	rcx, 3
	mov	rsi, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -372[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rsi+rax*8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm1, QWORD PTR -296[rbp]
	movsd	xmm0, QWORD PTR -296[rbp]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -72[rbp]
	jbe	.L189
	mov	eax, DWORD PTR -372[rbp]
	add	eax, 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	edx, eax
	lea	rsi, .LC19[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	mov	rdi, r12
	shr	rdi, 2
	mov	eax, DWORD PTR -372[rbp]
	lea	esi, 1[rax]
	mov	rcx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	imul	rax, rdi
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], esi
	jmp	.L59
.L189:
	add	DWORD PTR -372[rbp], 1
.L56:
	mov	eax, DWORD PTR -372[rbp]
	cmp	eax, DWORD PTR -348[rbp]
	jl	.L60
.L59:
	add	DWORD PTR -368[rbp], 1
.L55:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L61
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -364[rbp], 1
.L54:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L62
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -344[rbp]
	lea	edx, 0[0+rax*4]
	mov	rax, rsp
	mov	QWORD PTR -608[rbp], rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -160[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -704[rbp], rax
	mov	QWORD PTR -696[rbp], 0
	movsx	rax, edx
	lea	r13, 0[0+rax*4]
	movsx	rax, edx
	mov	QWORD PTR -720[rbp], rax
	mov	QWORD PTR -712[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -736[rbp], rax
	mov	QWORD PTR -728[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L63:
	cmp	rsp, rcx
	je	.L64
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L63
.L64:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L65
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L65:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	jmp	.L66
.L85:
	mov	DWORD PTR -340[rbp], 0
	mov	DWORD PTR -336[rbp], 0
	mov	DWORD PTR -332[rbp], 0
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -372[rbp], 0
	jmp	.L67
.L80:
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L68
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L69
.L68:
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L70
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L70
.L69:
	mov	DWORD PTR -340[rbp], 1
.L70:
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L71
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L72
.L71:
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L73
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L73
.L72:
	mov	DWORD PTR -336[rbp], 1
.L73:
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L74
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L75
.L74:
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L76
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L76
.L75:
	mov	DWORD PTR -332[rbp], 1
.L76:
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L77
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L78
.L77:
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L79
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L79
.L78:
	mov	DWORD PTR -328[rbp], 1
.L79:
	add	DWORD PTR -372[rbp], 1
.L67:
	mov	eax, DWORD PTR -372[rbp]
	cmp	eax, DWORD PTR -368[rbp]
	jl	.L80
	cmp	DWORD PTR -340[rbp], 0
	jne	.L81
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L81
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -368[rbp], 1
.L81:
	cmp	DWORD PTR -336[rbp], 0
	jne	.L82
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	eax, DWORD PTR [rsi+rax*4]
	cmp	edi, eax
	je	.L82
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rsi, r12
	shr	rsi, 2
	mov	rdi, r13
	shr	rdi, 2
	mov	rcx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rsi+rsi]
	add	rax, rdx
	mov	ecx, DWORD PTR [rcx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -368[rbp], 1
.L82:
	cmp	DWORD PTR -332[rbp], 0
	jne	.L83
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	edi, DWORD PTR [rsi+rax*4]
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	eax, DWORD PTR [rsi+rax*4]
	cmp	edi, eax
	je	.L83
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	lea	rax, [rcx+rcx]
	add	rax, rdx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rsi, r12
	shr	rsi, 2
	mov	rdi, r13
	shr	rdi, 2
	mov	rcx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdx, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdx
	mov	ecx, DWORD PTR [rcx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -368[rbp], 1
.L83:
	cmp	DWORD PTR -328[rbp], 0
	jne	.L84
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L84
	mov	rdx, r12
	shr	rdx, 2
	mov	rsi, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rsi, r13
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	add	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -368[rbp], 1
.L84:
	add	DWORD PTR -364[rbp], 1
.L66:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L85
	mov	eax, DWORD PTR -368[rbp]
	mov	DWORD PTR -316[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR -316[rbp]
	mov	rax, rsp
	mov	QWORD PTR -624[rbp], rax
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -144[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -752[rbp], rax
	mov	QWORD PTR -744[rbp], 0
	movsx	rax, esi
	lea	rbx, 0[0+rax*4]
	movsx	rax, esi
	mov	QWORD PTR -528[rbp], rax
	mov	QWORD PTR -520[rbp], 0
	mov	r10, QWORD PTR -528[rbp]
	mov	r11, QWORD PTR -520[rbp]
	imul	rdx, r11, 160
	imul	rax, r10, 0
	lea	rcx, [rdx+rax]
	mov	eax, 160
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	movsx	rax, esi
	mov	QWORD PTR -544[rbp], rax
	mov	QWORD PTR -536[rbp], 0
	mov	r14, QWORD PTR -544[rbp]
	mov	r15, QWORD PTR -536[rbp]
	imul	rdx, r15, 160
	imul	rax, r14, 0
	lea	rcx, [rdx+rax]
	mov	eax, 160
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L86:
	cmp	rsp, rdx
	je	.L87
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L86
.L87:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L88
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L88:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L89
.L90:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], -1
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	DWORD PTR [rax+rdx*4], -1
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	mov	DWORD PTR [rax+rdx*4], -1
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	DWORD PTR [rdx+rax*4], -1
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	sal	rcx, 2
	add	rdx, rcx
	mov	DWORD PTR [rax+rdx*4], -1
	add	DWORD PTR -364[rbp], 1
.L89:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L90
	mov	DWORD PTR -364[rbp], 0
	jmp	.L91
.L103:
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rcx, r12
	shr	rcx, 2
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rcx, r12
	shr	rcx, 2
	mov	rdi, r12
	shr	rdi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rdi
	add	rax, rax
	add	rax, rdi
	add	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	DWORD PTR -368[rbp], 0
	jmp	.L92
.L102:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jne	.L93
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	je	.L94
.L93:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	jne	.L95
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	je	.L94
.L95:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	jne	.L96
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	je	.L94
.L96:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L97
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	je	.L94
.L97:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	jne	.L98
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	je	.L94
.L98:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	jne	.L99
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	je	.L94
.L99:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L100
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -364[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	eax, DWORD PTR [rax+rcx*4]
	cmp	edx, eax
	je	.L94
.L100:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jne	.L101
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rsi, r12
	shr	rsi, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rdi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jne	.L101
.L94:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rsi, rbx
	shr	rsi, 2
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -368[rbp]
	movsx	rdi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdi
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -368[rbp]
	movsx	rcx, ecx
	sal	rsi, 2
	add	rcx, rsi
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rcx, rbx
	shr	rcx, 2
	mov	rsi, rbx
	shr	rsi, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -368[rbp]
	movsx	rdi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rcx, rbx
	shr	rcx, 2
	mov	rsi, rbx
	shr	rsi, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -368[rbp]
	movsx	rcx, ecx
	add	rsi, rsi
	add	rcx, rsi
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rsi, rbx
	shr	rsi, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -368[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -364[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
.L101:
	add	DWORD PTR -368[rbp], 1
.L92:
	mov	eax, DWORD PTR -368[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L102
	add	DWORD PTR -364[rbp], 1
.L91:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L103
	lea	rax, .LC21[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L104
.L105:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	sal	rcx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	r8d, 1[rax]
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	r9d, 1[rax]
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	lea	rax, [rdx+rdx]
	add	rax, rsi
	mov	eax, DWORD PTR [rcx+rax*4]
	lea	esi, 1[rax]
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	add	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	add	eax, 1
	mov	rdi, QWORD PTR -208[rbp]
	sub	rsp, 8
	push	r8
	mov	r8d, esi
	mov	edx, eax
	lea	rsi, .LC22[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	add	DWORD PTR -364[rbp], 1
.L104:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L105
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rax, .LC24[rip]
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -320[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	jmp	.L106
.L162:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -440[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -436[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -432[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -428[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	sal	rcx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -424[rbp], eax
	mov	eax, DWORD PTR -424[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -428[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -432[rbp]
	lea	r8d, 1[rax]
	mov	eax, DWORD PTR -436[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -440[rbp]
	add	eax, 1
	mov	rdi, QWORD PTR -208[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, ecx
	mov	ecx, esi
	mov	edx, eax
	lea	rsi, .LC25[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -312[rbp], eax
	mov	rcx, r13
	shr	rcx, 2
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -308[rbp], eax
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, -1
	jne	.L107
	add	DWORD PTR -324[rbp], 1
.L107:
	mov	eax, DWORD PTR -432[rbp]
	cmp	eax, -1
	jne	.L108
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, -1
	je	.L108
	add	DWORD PTR -320[rbp], 1
.L108:
	mov	eax, DWORD PTR -428[rbp]
	cmp	eax, -1
	jne	.L109
	mov	eax, DWORD PTR -432[rbp]
	cmp	eax, -1
	je	.L109
	add	DWORD PTR -320[rbp], 2
.L109:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, -1
	jne	.L110
	mov	eax, DWORD PTR -428[rbp]
	cmp	eax, -1
	je	.L110
	add	DWORD PTR -320[rbp], 3
.L110:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, -1
	je	.L111
	add	DWORD PTR -320[rbp], 4
.L111:
	mov	eax, DWORD PTR -440[rbp]
	cmp	eax, -1
	je	.L112
	mov	DWORD PTR -368[rbp], 0
	jmp	.L113
.L116:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -312[rbp], eax
	jne	.L114
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L115
.L114:
	add	DWORD PTR -368[rbp], 1
.L113:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L116
.L115:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L117
.L120:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -308[rbp], eax
	jne	.L118
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L121
.L118:
	add	DWORD PTR -368[rbp], 1
.L117:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L120
	jmp	.L121
.L112:
	mov	rax, QWORD PTR -208[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
.L121:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, -1
	je	.L122
	mov	DWORD PTR -368[rbp], 0
	jmp	.L123
.L126:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -436[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -312[rbp], eax
	jne	.L124
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L125
.L124:
	add	DWORD PTR -368[rbp], 1
.L123:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L126
.L125:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L127
.L130:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -436[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -308[rbp], eax
	jne	.L128
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L131
.L128:
	add	DWORD PTR -368[rbp], 1
.L127:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L130
	jmp	.L131
.L122:
	mov	rax, QWORD PTR -208[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
.L131:
	mov	eax, DWORD PTR -432[rbp]
	cmp	eax, -1
	je	.L132
	mov	DWORD PTR -368[rbp], 0
	jmp	.L133
.L136:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -432[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -312[rbp], eax
	jne	.L134
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L135
.L134:
	add	DWORD PTR -368[rbp], 1
.L133:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L136
.L135:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L137
.L140:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -432[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -308[rbp], eax
	jne	.L138
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L141
.L138:
	add	DWORD PTR -368[rbp], 1
.L137:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L140
	jmp	.L141
.L132:
	mov	rax, QWORD PTR -208[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
.L141:
	mov	eax, DWORD PTR -428[rbp]
	cmp	eax, -1
	je	.L142
	mov	DWORD PTR -368[rbp], 0
	jmp	.L143
.L146:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -428[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -312[rbp], eax
	jne	.L144
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L145
.L144:
	add	DWORD PTR -368[rbp], 1
.L143:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L146
.L145:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L147
.L150:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -428[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -308[rbp], eax
	jne	.L148
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L151
.L148:
	add	DWORD PTR -368[rbp], 1
.L147:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L150
	jmp	.L151
.L142:
	mov	rax, QWORD PTR -208[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
.L151:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, -1
	je	.L152
	mov	DWORD PTR -368[rbp], 0
	jmp	.L153
.L156:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -424[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -312[rbp], eax
	jne	.L154
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L155
.L154:
	add	DWORD PTR -368[rbp], 1
.L153:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L156
.L155:
	mov	DWORD PTR -368[rbp], 0
	jmp	.L157
.L160:
	mov	rcx, r12
	shr	rcx, 2
	mov	edx, DWORD PTR -424[rbp]
	mov	rax, QWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -368[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -308[rbp], eax
	jne	.L158
	mov	eax, DWORD PTR -368[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L161
.L158:
	add	DWORD PTR -368[rbp], 1
.L157:
	cmp	DWORD PTR -368[rbp], 3
	jle	.L160
	jmp	.L161
.L152:
	mov	rax, QWORD PTR -208[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
.L161:
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -364[rbp], 1
.L106:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L162
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, .LC24[rip]
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L163
.L165:
	lea	r8, -428[rbp]
	lea	rdi, -432[rbp]
	lea	rcx, -436[rbp]
	lea	rdx, -440[rbp]
	mov	rax, QWORD PTR -112[rbp]
	sub	rsp, 8
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -404[rbp]
	push	rsi
	lea	rsi, -388[rbp]
	push	rsi
	lea	rsi, -408[rbp]
	push	rsi
	lea	rsi, -392[rbp]
	push	rsi
	lea	rsi, -412[rbp]
	push	rsi
	lea	rsi, -396[rbp]
	push	rsi
	lea	rsi, -416[rbp]
	push	rsi
	lea	rsi, -400[rbp]
	push	rsi
	lea	rsi, -420[rbp]
	push	rsi
	lea	rsi, -424[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 96
	mov	eax, DWORD PTR -432[rbp]
	test	eax, eax
	je	.L164
	mov	edx, DWORD PTR -384[rbp]
	mov	edi, DWORD PTR -404[rbp]
	mov	r8d, DWORD PTR -388[rbp]
	mov	r9d, DWORD PTR -408[rbp]
	mov	r10d, DWORD PTR -392[rbp]
	mov	ebx, DWORD PTR -412[rbp]
	mov	eax, DWORD PTR -396[rbp]
	mov	DWORD PTR -496[rbp], eax
	mov	esi, DWORD PTR -416[rbp]
	mov	DWORD PTR -512[rbp], esi
	mov	r15d, DWORD PTR -400[rbp]
	mov	r14d, DWORD PTR -420[rbp]
	mov	r11d, DWORD PTR -424[rbp]
	mov	ecx, DWORD PTR -428[rbp]
	mov	DWORD PTR -528[rbp], ecx
	mov	r13d, DWORD PTR -432[rbp]
	mov	ecx, DWORD PTR -436[rbp]
	mov	esi, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -96[rbp]
	sub	rsp, 8
	push	rdx
	push	rdi
	push	r8
	push	r9
	push	r10
	push	rbx
	mov	ebx, DWORD PTR -496[rbp]
	push	rbx
	mov	ebx, DWORD PTR -512[rbp]
	push	rbx
	push	r15
	push	r14
	push	r11
	mov	r9d, DWORD PTR -528[rbp]
	mov	r8d, r13d
	mov	edx, esi
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 96
.L164:
	add	DWORD PTR -364[rbp], 1
.L163:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L165
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, .LC30[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	edx, DWORD PTR -348[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -364[rbp], 0
	jmp	.L166
.L167:
	mov	rbx, QWORD PTR -480[rbp]
	mov	rcx, rbx
	shr	rcx, 3
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	shr	rbx, 3
	mov	rcx, rbx
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -80[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -364[rbp], 1
.L166:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -348[rbp]
	jl	.L167
	mov	edx, DWORD PTR -344[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -364[rbp], 0
	jmp	.L168
.L169:
	mov	rcx, r12
	shr	rcx, 2
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -364[rbp]
	movsx	rsi, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rcx, rcx
	add	rdx, rcx
	mov	esi, DWORD PTR [rax+rdx*4]
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -80[rbp]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -364[rbp], 1
.L168:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -344[rbp]
	jl	.L169
	mov	edx, DWORD PTR -320[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L170
.L175:
	lea	r8, -428[rbp]
	lea	rdi, -432[rbp]
	lea	rcx, -436[rbp]
	lea	rdx, -440[rbp]
	mov	rax, QWORD PTR -264[rbp]
	sub	rsp, 8
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -404[rbp]
	push	rsi
	lea	rsi, -388[rbp]
	push	rsi
	lea	rsi, -408[rbp]
	push	rsi
	lea	rsi, -392[rbp]
	push	rsi
	lea	rsi, -412[rbp]
	push	rsi
	lea	rsi, -396[rbp]
	push	rsi
	lea	rsi, -416[rbp]
	push	rsi
	lea	rsi, -400[rbp]
	push	rsi
	lea	rsi, -420[rbp]
	push	rsi
	lea	rsi, -424[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 96
	mov	eax, DWORD PTR -436[rbp]
	test	eax, eax
	je	.L171
	mov	edi, DWORD PTR -396[rbp]
	mov	esi, DWORD PTR -416[rbp]
	mov	r9d, DWORD PTR -400[rbp]
	mov	r8d, DWORD PTR -420[rbp]
	mov	ecx, DWORD PTR -436[rbp]
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -80[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L171:
	mov	eax, DWORD PTR -432[rbp]
	test	eax, eax
	je	.L172
	mov	edi, DWORD PTR -392[rbp]
	mov	esi, DWORD PTR -412[rbp]
	mov	r9d, DWORD PTR -400[rbp]
	mov	r8d, DWORD PTR -420[rbp]
	mov	ecx, DWORD PTR -432[rbp]
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -80[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L172:
	mov	eax, DWORD PTR -428[rbp]
	test	eax, eax
	je	.L173
	mov	edi, DWORD PTR -388[rbp]
	mov	esi, DWORD PTR -408[rbp]
	mov	r9d, DWORD PTR -400[rbp]
	mov	r8d, DWORD PTR -420[rbp]
	mov	ecx, DWORD PTR -428[rbp]
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -80[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L173:
	mov	eax, DWORD PTR -424[rbp]
	test	eax, eax
	je	.L174
	mov	edi, DWORD PTR -384[rbp]
	mov	esi, DWORD PTR -404[rbp]
	mov	r9d, DWORD PTR -400[rbp]
	mov	r8d, DWORD PTR -420[rbp]
	mov	ecx, DWORD PTR -424[rbp]
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -80[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L174:
	add	DWORD PTR -364[rbp], 1
.L170:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L175
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -324[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -364[rbp], 0
	jmp	.L176
.L178:
	lea	r8, -428[rbp]
	lea	rdi, -432[rbp]
	lea	rcx, -436[rbp]
	lea	rdx, -440[rbp]
	mov	rax, QWORD PTR -264[rbp]
	sub	rsp, 8
	lea	rsi, -384[rbp]
	push	rsi
	lea	rsi, -404[rbp]
	push	rsi
	lea	rsi, -388[rbp]
	push	rsi
	lea	rsi, -408[rbp]
	push	rsi
	lea	rsi, -392[rbp]
	push	rsi
	lea	rsi, -412[rbp]
	push	rsi
	lea	rsi, -396[rbp]
	push	rsi
	lea	rsi, -416[rbp]
	push	rsi
	lea	rsi, -400[rbp]
	push	rsi
	lea	rsi, -420[rbp]
	push	rsi
	lea	rsi, -424[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 96
	mov	eax, DWORD PTR -436[rbp]
	test	eax, eax
	jne	.L177
	mov	edi, DWORD PTR -396[rbp]
	mov	esi, DWORD PTR -416[rbp]
	mov	r9d, DWORD PTR -400[rbp]
	mov	r8d, DWORD PTR -420[rbp]
	mov	ecx, DWORD PTR -436[rbp]
	mov	edx, DWORD PTR -440[rbp]
	mov	rax, QWORD PTR -80[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L177:
	add	DWORD PTR -364[rbp], 1
.L176:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jl	.L178
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -352[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -364[rbp], 0
	jmp	.L179
.L180:
	mov	rcx, QWORD PTR -552[rbp]
	shr	rcx, 2
	mov	rax, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR -364[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -364[rbp], 1
.L179:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -352[rbp]
	jl	.L180
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, QWORD PTR -624[rbp]
	mov	rsp, QWORD PTR -608[rbp]
	mov	rsp, QWORD PTR -592[rbp]
	mov	rsp, QWORD PTR -576[rbp]
	mov	rsp, QWORD PTR -560[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L182
	call	__stack_chk_fail@PLT
.L182:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.long	0
	.long	1097011920
	.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	"595852.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"begin programm\000"
	.align	2
.LC1:
	.ascii	"geodat.dat\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%d %d\000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC6:
	.ascii	"begin read options\000"
	.align	2
.LC7:
	.ascii	"Options.txt\000"
	.align	2
.LC8:
	.ascii	"begin read points\000"
	.align	2
.LC9:
	.ascii	"%lf %lf %lf\000"
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
.LC10:
	.ascii	" distanse between adjasent points, unequal points  "
	.ascii	"%lf %lf \012\000"
	.align	2
.LC11:
	.ascii	"begin formig unuq point list \000"
	.align	2
.LC12:
	.ascii	"Points.txt\000"
	.align	2
.LC13:
	.ascii	"w\000"
	.align	2
.LC14:
	.ascii	"%lf %lf %lf\012\000"
	.align	2
.LC15:
	.ascii	"Number of different points is: s = %d,\012Total num"
	.ascii	"ber of frames is: sum = %d\012\000"
	.align	2
.LC16:
	.ascii	"NumCell.txt\000"
	.align	2
.LC17:
	.ascii	"%d \000"
	.align	2
.LC18:
	.ascii	"Successfully, number of different segments is: nseg"
	.ascii	" = %d\012\000"
	.align	2
.LC19:
	.ascii	"Adjacent_0.txt\000"
	.align	2
.LC20:
	.ascii	"%d %d %d %d %d \012\000"
	.align	2
.LC21:
	.ascii	"Successfully filled array ribcell[2][nseg]\000"
	.align	2
.LC22:
	.ascii	"AdjacentFrames.txt\000"
	.align	2
.LC23:
	.ascii	"%d %d %d %d %d \000"
	.align	2
.LC24:
	.ascii	" 0 0\000"
	.align	2
.LC25:
	.ascii	"Adjacent_Doubled_Segments.txt\000"
	.align	2
.LC26:
	.ascii	"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\000"
	.align	2
.LC27:
	.ascii	"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d \012\000"
	.align	2
.LC28:
	.ascii	"data.rwg\000"
	.align	2
.LC29:
	.ascii	"%d\012\000"
	.align	2
.LC30:
	.ascii	"%d %d %d %d\012\000"
	.align	2
.LC31:
	.ascii	"%d %d %d %d %d %d\012\000"
	.align	2
.LC32:
	.ascii	"%d %d\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #436
	ldr	r3, .L173
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-240]
	mov	r3, #0
	str	r3, [fp, #-236]
	mov	r3, #0
	str	r3, [fp, #-232]
	ldr	r0, .L173+4
	bl	puts
	ldr	r3, .L173+8
	str	r3, [fp, #-204]
	ldr	r1, .L173+12
	ldr	r0, [fp, #-204]
	bl	fopen
	str	r0, [fp, #-200]
	sub	r3, fp, #352
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L2
.L7:
	sub	r3, fp, #348
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-348]
	ldr	r2, [fp, #-240]
	add	r3, r2, r3
	str	r3, [fp, #-240]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L3
.L6:
	sub	r3, fp, #344
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	sub	r3, fp, #340
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-340]
	ldr	r2, [fp, #-232]
	add	r3, r2, r3
	str	r3, [fp, #-232]
	sub	r3, fp, #332
	sub	r2, fp, #336
	ldr	r1, .L173+20
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-340]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	str	r3, [fp, #-340]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L4
.L5:
	sub	r3, fp, #92
	mov	r2, r3
	ldr	r1, .L173+24
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L4:
	ldr	r3, [fp, #-340]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L3:
	ldr	r3, [fp, #-348]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L2:
	ldr	r3, [fp, #-352]
	ldr	r2, [fp, #-252]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-200]
	bl	fclose
	ldr	r0, .L173+28
	bl	puts
	ldr	r3, .L173+32
	str	r3, [fp, #-196]
	ldr	r1, .L173+12
	ldr	r0, [fp, #-196]
	bl	fopen
	str	r0, [fp, #-200]
	sub	r3, fp, #84
	mov	r2, r3
	ldr	r1, .L173+24
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-200]
	bl	fclose
	ldr	r0, .L173+36
	bl	puts
	ldr	ip, [fp, #-240]
	mov	r3, sp
	str	r3, [fp, #-392]
	sub	r3, ip, #1
	str	r3, [fp, #-192]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	str	r3, [fp, #-368]
	mov	r3, ip
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-188]
	ldr	ip, [fp, #-232]
	sub	r3, ip, #1
	str	r3, [fp, #-184]
	mov	r3, ip
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	lsl	r8, r3, #3
	mov	r3, ip
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r3, ip
	lsl	r9, r3, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-180]
	mov	r3, #0
	str	r3, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-244]
	ldr	r1, .L173+12
	ldr	r0, [fp, #-204]
	bl	fopen
	str	r0, [fp, #-200]
	sub	r3, fp, #352
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L8
.L15:
	sub	r3, fp, #348
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L9
.L14:
	sub	r3, fp, #344
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	sub	r3, fp, #340
	mov	r2, r3
	ldr	r1, .L173+16
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	sub	r3, fp, #332
	sub	r2, fp, #336
	ldr	r1, .L173+20
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-244]
	ldr	r1, [fp, #-232]
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L10
.L13:
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L11
.L12:
	lsr	r3, r8, #3
	ldr	r2, [fp, #-264]
	mul	r2, r3, r2
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r0, r2, r3
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r1, [fp, #-264]
	mul	r1, r2, r1
	ldr	r2, [fp, #-232]
	add	r2, r1, r2
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	ip, r2, r3
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r1, [fp, #-264]
	mul	r2, r1, r2
	lsl	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L173+40
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L11:
	ldr	r3, [fp, #-264]
	cmp	r3, #3
	ble	.L12
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L10:
	ldr	r3, [fp, #-340]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-368]
	lsr	r0, r3, #2
	ldr	r3, [fp, #-232]
	sub	r1, r3, #1
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-244]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L9:
	ldr	r3, [fp, #-348]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L8:
	ldr	r3, [fp, #-352]
	ldr	r2, [fp, #-252]
	cmp	r2, r3
	blt	.L15
	ldr	r0, [fp, #-200]
	bl	fclose
	mov	r2, #0
	ldr	r3, .L173+44
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	ldr	r3, .L173+44
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L16
.L26:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L17
.L25:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-264]
	cmp	r3, #4
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-264]
.L18:
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	ip, [fp, #-264]
	mul	ip, r3, ip
	ldr	r3, [fp, #-252]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r2, r8, #3
	ldr	ip, [fp, #-180]
	ldr	r3, [fp, #-264]
	mul	r2, r3, r2
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-364]
	str	r3, [fp, #-360]
	lsr	r2, r9, #3
	lsr	r3, r8, #3
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-264]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-256]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r1, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-264]
	mul	r3, r2, r3
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #364
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-364]
	str	r3, [fp, #-360]
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r2, r1, r2
	lsl	r1, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-264]
	mul	r1, r3, r1
	lsl	r2, r2, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-256]
	mul	r1, r3, r1
	lsl	r2, r2, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r0, r9, #3
	lsr	r2, r8, #3
	ldr	ip, [fp, #-180]
	ldr	r3, [fp, #-264]
	mul	r1, r3, r2
	lsl	r2, r0, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #364
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L21:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L19:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L17:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L25
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L16:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L26
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r0, .L173+48
	bl	printf
	ldr	r0, .L173+52
	bl	puts
	ldr	r3, .L173+56
	str	r3, [fp, #-176]
	ldr	r1, .L173+72
	ldr	r0, [fp, #-176]
	bl	fopen
	str	r0, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-236]
	ldr	r3, [fp, #-232]
	lsl	ip, r3, #2
	mov	r3, sp
	str	r3, [fp, #-396]
	sub	r3, ip, #1
	str	r3, [fp, #-168]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	str	r3, [fp, #-364]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	lr, r2, r2
	str	lr, [fp, #-380]
	adc	r3, r3, r3
	str	r3, [fp, #-376]
	sub	r3, fp, #380
	ldmia	r3, {r2-r3}
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	lr, r2, r2
	str	lr, [fp, #-388]
	adc	r3, r3, r3
	str	r3, [fp, #-384]
	sub	r3, fp, #388
	ldmia	r3, {r2-r3}
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L27
.L41:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L28
.L40:
	mov	r3, #0
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L29
.L38:
	mov	r3, #0
	str	r3, [fp, #-248]
	b	.L30
.L35:
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	ip, [fp, #-248]
	mul	ip, r3, ip
	ldr	r3, [fp, #-268]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	ip, [fp, #-248]
	mul	ip, r3, ip
	ldr	r3, [fp, #-268]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-380]
	str	r3, [fp, #-376]
	lsr	r1, r9, #3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r1, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r2, r9, #3
	lsr	r3, r8, #3
	ldr	ip, [fp, #-180]
	ldr	lr, [fp, #-248]
	mul	r3, lr, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	lsr	r2, r9, #3
	lsr	r3, r8, #3
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-248]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #380
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-380]
	str	r3, [fp, #-376]
	lsr	r1, r9, #3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	lsl	r0, r1, #1
	ldr	r1, [fp, #-252]
	add	r1, r0, r1
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r1, [fp, #-248]
	mul	r2, r1, r2
	lsl	r1, r3, #1
	ldr	r3, [fp, #-268]
	add	r3, r1, r3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r2, r1, r2
	lsl	r1, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-248]
	mul	r1, r3, r1
	lsl	r2, r2, #1
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #380
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	blt	.L33
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	bne	.L31
	ldr	r2, [fp, #-248]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	bge	.L31
.L33:
	mov	r3, #1
	str	r3, [fp, #-244]
	b	.L34
.L31:
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
.L30:
	ldr	r3, [fp, #-248]
	cmp	r3, #3
	ble	.L35
.L34:
	ldr	r3, [fp, #-244]
	cmp	r3, #1
	beq	.L172
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L29:
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	ble	.L38
	b	.L37
.L174:
	.align	2
.L173:
	.word	.LC33
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1097011920
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC13
	.word	.LC17
	.word	.LC18
.L172:
	nop
.L37:
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	bne	.L39
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	lsr	r1, r9, #3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r1, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r2, r1, r2
	lsl	r1, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L173+60
	ldr	r0, [fp, #-172]
	bl	fprintf
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-164]
	ldr	r1, [fp, #-236]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	lsr	r1, r9, #3
	lsr	r3, r8, #3
	ldr	lr, [fp, #-364]
	lsr	ip, lr, #3
	ldr	r2, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r1, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-164]
	ldr	r1, [fp, #-236]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	lsr	r0, r9, #3
	lsr	r3, r8, #3
	lsr	r1, lr, #3
	ldr	r2, [fp, #-180]
	ldr	ip, [fp, #-256]
	mul	r3, ip, r3
	lsl	ip, r0, #1
	ldr	r0, [fp, #-252]
	add	r0, ip, r0
	add	r3, r0, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-164]
	lsl	ip, r1, #1
	ldr	r1, [fp, #-236]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L39:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L28:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L40
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L27:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L41
	ldr	r0, [fp, #-172]
	bl	fclose
	ldr	r2, [fp, #-232]
	ldr	r1, [fp, #-236]
	ldr	r0, .L173+64
	bl	printf
	ldr	ip, [fp, #-232]
	mov	r3, sp
	str	r3, [fp, #-400]
	sub	r3, ip, #1
	str	r3, [fp, #-160]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r6, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-156]
	ldr	r3, .L173+68
	str	r3, [fp, #-152]
	ldr	r1, .L173+72
	ldr	r0, [fp, #-152]
	bl	fopen
	str	r0, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L42
.L50:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L43
.L49:
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L44
.L48:
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	lsr	r3, r8, #3
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r1, r3, r1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-380]
	str	r3, [fp, #-376]
	lsr	r2, r9, #3
	lsr	r3, r8, #3
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r7, [fp, #-364]
	lsr	r2, r7, #3
	ldr	ip, [fp, #-164]
	ldr	r3, [fp, #-260]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-388]
	str	r3, [fp, #-384]
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-256]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r2, r7, #3
	ldr	r1, [fp, #-164]
	ldr	r3, [fp, #-260]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #388
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #380
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-380]
	str	r3, [fp, #-376]
	lsr	r3, r9, #3
	lsr	r2, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r1, [fp, #-256]
	mul	r2, r1, r2
	lsl	r1, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r0-r1}
	lsr	r3, r7, #3
	ldr	ip, [fp, #-164]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-260]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-388]
	str	r3, [fp, #-384]
	lsr	r2, r9, #3
	lsr	r1, r8, #3
	ldr	r0, [fp, #-180]
	ldr	r3, [fp, #-256]
	mul	r1, r3, r1
	lsl	r2, r2, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r4-r5}
	lsr	r3, r7, #3
	ldr	r1, [fp, #-164]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-260]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #388
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #380
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L171
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L173+76
	ldr	r0, [fp, #-172]
	bl	fprintf
	lsr	r2, r6, #2
	ldr	r3, [fp, #-260]
	add	r1, r3, #1
	ldr	r3, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r0, r2, r0
	ldr	r2, [fp, #-252]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	b	.L47
.L171:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L44:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	blt	.L48
.L47:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L43:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L49
	ldr	r1, [fp, #-172]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L42:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L50
	ldr	r0, [fp, #-172]
	bl	fclose
	ldr	r3, [fp, #-232]
	lsl	ip, r3, #2
	mov	r3, sp
	str	r3, [fp, #-404]
	sub	r3, ip, #1
	str	r3, [fp, #-148]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r7, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L51
.L70:
	mov	r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L52
.L65:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L53
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L54
.L53:
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L55
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L55
.L54:
	mov	r3, #1
	str	r3, [fp, #-228]
.L55:
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L56
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L57
.L56:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L58
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L58
.L57:
	mov	r3, #1
	str	r3, [fp, #-224]
.L58:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L59
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L60
.L59:
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L61
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L61
.L60:
	mov	r3, #1
	str	r3, [fp, #-220]
.L61:
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L62
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L63
.L62:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L64
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-260]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L64
.L63:
	mov	r3, #1
	str	r3, [fp, #-216]
.L64:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L52:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	blt	.L65
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L66
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	str	r1, [r3, r2, lsl #2]
	lsr	r1, r6, #2
	lsr	r0, r7, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L66:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L67
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r0, r1, #1
	ldr	r1, [fp, #-252]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L67
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	lsr	r0, r7, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L67:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L68
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	beq	.L68
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	lsr	r0, r7, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L68:
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L69
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L69
	lsr	r2, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	str	r1, [r3, r2, lsl #2]
	lsr	r0, r7, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L69:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L51:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L70
	ldr	r3, [fp, #-256]
	str	r3, [fp, #-140]
	ldr	r1, [fp, #-140]
	ldr	r0, .L173+80
	bl	printf
	ldr	ip, [fp, #-140]
	mov	r3, sp
	str	r3, [fp, #-408]
	sub	r3, ip, #1
	str	r3, [fp, #-136]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r8, r3, #2
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #56
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L71
.L72:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-252]
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	lsr	r1, r8, #2
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r8, #2
	ldr	r3, [fp, #-132]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r8, #2
	ldr	r1, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	mvn	r2, #0
	str	r2, [r1, r3, lsl #2]
	lsr	r2, r8, #2
	ldr	r3, [fp, #-132]
	lsl	r1, r2, #2
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L71:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L72
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L73
.L85:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	str	r1, [r3, r2, lsl #2]
	lsr	r1, r6, #2
	lsr	r0, r6, #2
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	str	r1, [r2, r3, lsl #2]
	lsr	r3, r6, #2
	lsr	r0, r6, #2
	ldr	r2, [fp, #-156]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-156]
	lsl	r0, r0, #1
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	str	r1, [r2, r3, lsl #2]
	lsr	r2, r6, #2
	lsr	ip, r6, #2
	ldr	r1, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r0, [r1, r3, lsl #2]
	ldr	r1, [fp, #-156]
	mov	r3, ip
	lsl	r3, r3, #1
	add	r3, r3, ip
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L74
.L84:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L75
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r6, #2
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	beq	.L76
.L75:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r6, #2
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L77
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r3, r6, #2
	ldr	r1, [fp, #-156]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	beq	.L76
.L77:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r3, r6, #2
	ldr	r1, [fp, #-156]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L78
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	beq	.L76
.L78:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L79
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L76
.L79:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r6, #2
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L80
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L76
.L80:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r3, r6, #2
	ldr	r1, [fp, #-156]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L81
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r0, r6, #2
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	beq	.L76
.L81:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L82
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	lsr	r3, r6, #2
	ldr	r1, [fp, #-156]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	beq	.L76
.L82:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	ldr	r1, [fp, #-252]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L83
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-256]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L83
.L76:
	lsr	r2, r8, #2
	lsr	r0, r8, #2
	ldr	r1, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-256]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-132]
	lsl	r0, r0, #2
	ldr	r3, [fp, #-256]
	add	r3, r0, r3
	str	r1, [r2, r3, lsl #2]
	lsr	r3, r8, #2
	lsr	r0, r8, #2
	ldr	r2, [fp, #-132]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-256]
	add	r3, r1, r3
	ldr	ip, [r2, r3, lsl #2]
	ldr	r1, [fp, #-132]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r2, [fp, #-256]
	add	r3, r3, r2
	str	ip, [r1, r3, lsl #2]
	lsr	r1, r8, #2
	lsr	r0, r8, #2
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-256]
	add	r3, r1, r3
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-132]
	lsl	r0, r0, #1
	ldr	r3, [fp, #-256]
	add	r3, r0, r3
	str	r1, [r2, r3, lsl #2]
	lsr	r0, r8, #2
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-256]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-256]
	add	r3, r0, r3
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-256]
	ldr	r1, [fp, #-252]
	str	r1, [r3, r2, lsl #2]
.L83:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L74:
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L84
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L73:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L85
	ldr	r3, .L175
	str	r3, [fp, #-128]
	ldr	r1, .L175+4
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L86
.L87:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-252]
	ldr	r3, [r3, r2, lsl #2]
	add	r4, r3, #1
	lsr	r1, r8, #2
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldr	r3, [r2, r3, lsl #2]
	add	lr, r3, #1
	lsr	r3, r8, #2
	ldr	r1, [fp, #-132]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	add	ip, r3, #1
	lsr	r3, r8, #2
	ldr	r1, [fp, #-132]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	add	r0, r3, #1
	lsr	r3, r8, #2
	ldr	r1, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r3, #1
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	str	ip, [sp]
	mov	r3, lr
	mov	r2, r4
	ldr	r1, .L175+8
	ldr	r0, [fp, #-172]
	bl	fprintf
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L86:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L87
	ldr	r0, [fp, #-172]
	bl	fclose
	ldr	r0, .L175+12
	bl	puts
	ldr	r3, .L175+16
	str	r3, [fp, #-124]
	ldr	r1, .L175+4
	ldr	r0, [fp, #-124]
	bl	fopen
	str	r0, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L88
.L144:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-252]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-328]
	lsr	r1, r8, #2
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-324]
	lsr	r2, r8, #2
	ldr	r3, [fp, #-132]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-320]
	lsr	r2, r8, #2
	ldr	r1, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-316]
	lsr	r2, r8, #2
	ldr	r3, [fp, #-132]
	lsl	r1, r2, #2
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-312]
	ldr	r3, [fp, #-328]
	add	r0, r3, #1
	ldr	r3, [fp, #-324]
	add	ip, r3, #1
	ldr	r3, [fp, #-320]
	add	r1, r3, #1
	ldr	r3, [fp, #-316]
	add	r2, r3, #1
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	str	r1, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L175+20
	ldr	r0, [fp, #-172]
	bl	fprintf
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-252]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-100]
	lsr	r1, r7, #2
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-324]
	cmn	r3, #1
	bne	.L89
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L89:
	ldr	r3, [fp, #-320]
	cmn	r3, #1
	bne	.L90
	ldr	r3, [fp, #-324]
	cmn	r3, #1
	beq	.L90
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L90:
	ldr	r3, [fp, #-316]
	cmn	r3, #1
	bne	.L91
	ldr	r3, [fp, #-320]
	cmn	r3, #1
	beq	.L91
	ldr	r3, [fp, #-208]
	add	r3, r3, #2
	str	r3, [fp, #-208]
.L91:
	ldr	r3, [fp, #-312]
	cmn	r3, #1
	bne	.L92
	ldr	r3, [fp, #-316]
	cmn	r3, #1
	beq	.L92
	ldr	r3, [fp, #-208]
	add	r3, r3, #3
	str	r3, [fp, #-208]
.L92:
	ldr	r3, [fp, #-312]
	cmn	r3, #1
	beq	.L93
	ldr	r3, [fp, #-208]
	add	r3, r3, #4
	str	r3, [fp, #-208]
.L93:
	ldr	r3, [fp, #-328]
	cmn	r3, #1
	beq	.L94
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L95
.L98:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-328]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bne	.L96
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L97
.L96:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L95:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L98
.L97:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L99
.L102:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-328]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bne	.L100
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L103
.L100:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L99:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L102
	b	.L103
.L94:
	ldr	r3, [fp, #-172]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L175+28
	bl	fwrite
.L103:
	ldr	r3, [fp, #-324]
	cmn	r3, #1
	beq	.L104
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L105
.L108:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-324]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bne	.L106
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L107
.L106:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L105:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L108
.L107:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L109
.L112:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-324]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bne	.L110
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L113
.L110:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L109:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L112
	b	.L113
.L104:
	ldr	r3, [fp, #-172]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L175+28
	bl	fwrite
.L113:
	ldr	r3, [fp, #-320]
	cmn	r3, #1
	beq	.L114
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L115
.L118:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-320]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bne	.L116
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L117
.L116:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L115:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L118
.L117:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L119
.L122:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-320]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bne	.L120
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L123
.L120:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L119:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L122
	b	.L123
.L114:
	ldr	r3, [fp, #-172]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L175+28
	bl	fwrite
.L123:
	ldr	r3, [fp, #-316]
	cmn	r3, #1
	beq	.L124
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L125
.L128:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-316]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bne	.L126
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L127
.L126:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L125:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L128
.L127:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L129
.L132:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-316]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bne	.L130
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L133
.L130:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L129:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L132
	b	.L133
.L124:
	ldr	r3, [fp, #-172]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L175+28
	bl	fwrite
.L133:
	ldr	r3, [fp, #-312]
	cmn	r3, #1
	beq	.L134
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L135
.L138:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-312]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bne	.L136
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L137
.L136:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L135:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L138
.L137:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L139
.L142:
	lsr	r3, r6, #2
	ldr	r1, [fp, #-312]
	ldr	r2, [fp, #-156]
	ldr	r0, [fp, #-256]
	mul	r3, r0, r3
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bne	.L140
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L175+24
	ldr	r0, [fp, #-172]
	bl	fprintf
	b	.L143
.L140:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L139:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L142
	b	.L143
.L134:
	ldr	r3, [fp, #-172]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L175+28
	bl	fwrite
.L143:
	ldr	r1, [fp, #-172]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L88:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L144
	ldr	r0, [fp, #-172]
	bl	fclose
	ldr	r3, .L175+16
	str	r3, [fp, #-124]
	ldr	r1, .L175+32
	ldr	r0, [fp, #-124]
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, .L175+36
	str	r3, [fp, #-116]
	ldr	r1, .L175+4
	ldr	r0, [fp, #-116]
	bl	fopen
	str	r0, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L145
.L147:
	sub	r1, fp, #324
	sub	r2, fp, #328
	sub	r3, fp, #272
	str	r3, [sp, #48]
	sub	r3, fp, #292
	str	r3, [sp, #44]
	sub	r3, fp, #276
	str	r3, [sp, #40]
	sub	r3, fp, #296
	str	r3, [sp, #36]
	sub	r3, fp, #280
	str	r3, [sp, #32]
	sub	r3, fp, #300
	str	r3, [sp, #28]
	sub	r3, fp, #284
	str	r3, [sp, #24]
	sub	r3, fp, #304
	str	r3, [sp, #20]
	sub	r3, fp, #288
	str	r3, [sp, #16]
	sub	r3, fp, #308
	str	r3, [sp, #12]
	sub	r3, fp, #312
	str	r3, [sp, #8]
	sub	r3, fp, #316
	str	r3, [sp, #4]
	sub	r3, fp, #320
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L175+40
	ldr	r0, [fp, #-120]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	beq	.L146
	ldr	r3, [fp, #-328]
	str	r3, [fp, #-380]
	ldr	r1, [fp, #-324]
	str	r1, [fp, #-388]
	ldr	r8, [fp, #-320]
	ldr	r9, [fp, #-316]
	ldr	r10, [fp, #-312]
	ldr	r0, [fp, #-308]
	str	r0, [fp, #-372]
	ldr	r7, [fp, #-288]
	ldr	r5, [fp, #-304]
	ldr	r4, [fp, #-284]
	ldr	lr, [fp, #-300]
	ldr	ip, [fp, #-280]
	ldr	r0, [fp, #-296]
	ldr	r1, [fp, #-276]
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-272]
	str	r3, [sp, #48]
	str	r2, [sp, #44]
	str	r1, [sp, #40]
	str	r0, [sp, #36]
	str	ip, [sp, #32]
	str	lr, [sp, #28]
	str	r4, [sp, #24]
	str	r5, [sp, #20]
	str	r7, [sp, #16]
	ldr	r0, [fp, #-372]
	str	r0, [sp, #12]
	str	r10, [sp, #8]
	str	r9, [sp, #4]
	str	r8, [sp]
	ldr	r3, [fp, #-388]
	ldr	r2, [fp, #-380]
	ldr	r1, .L175+44
	ldr	r0, [fp, #-112]
	bl	fprintf
.L146:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L145:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L147
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r0, [fp, #-112]
	bl	fclose
	ldr	r3, .L175+48
	str	r3, [fp, #-108]
	ldr	r1, .L175+4
	ldr	r0, [fp, #-108]
	bl	fopen
	str	r0, [fp, #-104]
	ldr	r2, [fp, #-236]
	ldr	r1, .L175+52
	ldr	r0, [fp, #-104]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L148
.L149:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-252]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	ip, [fp, #-364]
	lsr	r1, ip, #3
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r3, ip, #3
	ldr	ip, [fp, #-164]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L175+56
	ldr	r0, [fp, #-104]
	bl	fprintf
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L148:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	blt	.L149
	ldr	r2, [fp, #-232]
	ldr	r1, .L175+52
	ldr	r0, [fp, #-104]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L150
.L151:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	ldr	ip, [r3, r2, lsl #2]
	lsr	r1, r6, #2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	lr, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r3, [fp, #-156]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	lsr	r2, r6, #2
	ldr	r0, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-252]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+60
	ldr	r0, [fp, #-104]
	bl	fprintf
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L150:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L151
	ldr	r2, [fp, #-208]
	ldr	r1, .L175+52
	ldr	r0, [fp, #-104]
	bl	fprintf
	ldr	r1, .L175+32
	ldr	r0, [fp, #-124]
	bl	fopen
	str	r0, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L152
.L157:
	sub	r1, fp, #324
	sub	r2, fp, #328
	sub	r3, fp, #272
	str	r3, [sp, #48]
	sub	r3, fp, #292
	str	r3, [sp, #44]
	sub	r3, fp, #276
	str	r3, [sp, #40]
	sub	r3, fp, #296
	str	r3, [sp, #36]
	sub	r3, fp, #280
	str	r3, [sp, #32]
	sub	r3, fp, #300
	str	r3, [sp, #28]
	sub	r3, fp, #284
	str	r3, [sp, #24]
	sub	r3, fp, #304
	str	r3, [sp, #20]
	sub	r3, fp, #288
	str	r3, [sp, #16]
	sub	r3, fp, #308
	str	r3, [sp, #12]
	sub	r3, fp, #312
	str	r3, [sp, #8]
	sub	r3, fp, #316
	str	r3, [sp, #4]
	sub	r3, fp, #320
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L175+40
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-324]
	cmp	r3, #0
	beq	.L153
	ldr	ip, [fp, #-328]
	ldr	lr, [fp, #-324]
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-288]
	ldr	r1, [fp, #-304]
	ldr	r0, [fp, #-284]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+64
	ldr	r0, [fp, #-104]
	bl	fprintf
.L153:
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	beq	.L154
	ldr	ip, [fp, #-328]
	ldr	lr, [fp, #-320]
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-288]
	ldr	r1, [fp, #-300]
	ldr	r0, [fp, #-280]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+64
	ldr	r0, [fp, #-104]
	bl	fprintf
.L154:
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	beq	.L155
	ldr	ip, [fp, #-328]
	ldr	lr, [fp, #-316]
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-288]
	ldr	r1, [fp, #-296]
	ldr	r0, [fp, #-276]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+64
	ldr	r0, [fp, #-104]
	bl	fprintf
.L155:
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	beq	.L156
	ldr	ip, [fp, #-328]
	ldr	lr, [fp, #-312]
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-288]
	ldr	r1, [fp, #-292]
	ldr	r0, [fp, #-272]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+64
	ldr	r0, [fp, #-104]
	bl	fprintf
.L156:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L152:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L157
	ldr	r0, [fp, #-200]
	bl	fclose
	ldr	r2, [fp, #-212]
	ldr	r1, .L175+52
	ldr	r0, [fp, #-104]
	bl	fprintf
	ldr	r1, .L175+32
	ldr	r0, [fp, #-124]
	bl	fopen
	str	r0, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L158
.L160:
	sub	r1, fp, #324
	sub	r2, fp, #328
	sub	r3, fp, #272
	str	r3, [sp, #48]
	sub	r3, fp, #292
	str	r3, [sp, #44]
	sub	r3, fp, #276
	str	r3, [sp, #40]
	sub	r3, fp, #296
	str	r3, [sp, #36]
	sub	r3, fp, #280
	str	r3, [sp, #32]
	sub	r3, fp, #300
	str	r3, [sp, #28]
	sub	r3, fp, #284
	str	r3, [sp, #24]
	sub	r3, fp, #304
	str	r3, [sp, #20]
	sub	r3, fp, #288
	str	r3, [sp, #16]
	sub	r3, fp, #308
	str	r3, [sp, #12]
	sub	r3, fp, #312
	str	r3, [sp, #8]
	sub	r3, fp, #316
	str	r3, [sp, #4]
	sub	r3, fp, #320
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L175+40
	ldr	r0, [fp, #-200]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-324]
	cmp	r3, #0
	bne	.L159
	ldr	ip, [fp, #-328]
	ldr	lr, [fp, #-324]
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-288]
	ldr	r1, [fp, #-304]
	ldr	r0, [fp, #-284]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L175+64
	ldr	r0, [fp, #-104]
	bl	fprintf
.L159:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L158:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L160
	ldr	r0, [fp, #-200]
	bl	fclose
	ldr	r2, [fp, #-240]
	ldr	r1, .L175+52
	ldr	r0, [fp, #-104]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L161
.L162:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-252]
	ldr	r3, [r3, r2, lsl #2]
	add	r0, r3, #1
	ldr	r3, [fp, #-368]
	lsr	r1, r3, #2
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-252]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	add	r3, r3, #1
	mov	r2, r0
	ldr	r1, .L175+68
	ldr	r0, [fp, #-104]
	bl	fprintf
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L161:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	blt	.L162
	ldr	r0, [fp, #-104]
	bl	fclose
	mov	r3, #0
	ldr	sp, [fp, #-408]
	ldr	sp, [fp, #-404]
	ldr	sp, [fp, #-400]
	ldr	sp, [fp, #-396]
	ldr	sp, [fp, #-392]
	ldr	r2, .L175+72
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L176:
	.align	2
.L175:
	.word	.LC19
	.word	.LC13
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC17
	.word	.LC24
	.word	.LC2
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC14
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
