	.file	"154827356.c"
	.intel_syntax noprefix
	.text
	.globl	max_size
	.section	.rodata
	.align 8
	.type	max_size, @object
	.size	max_size, 8
max_size:
	.quad	2000
	.globl	N
	.align 8
	.type	N, @object
	.size	N, 8
N:
	.quad	40
	.globl	max_w
	.align 8
	.type	max_w, @object
	.size	max_w, 8
max_w:
	.quad	50
	.align 8
.LC0:
	.string	"Usage: ./distance <FILE>\nwhere FILE contains word projections in the BINARY FORMAT"
.LC1:
	.string	"rb"
.LC2:
	.string	"Input file not found"
.LC3:
	.string	"%lld"
	.align 8
.LC4:
	.string	"Cannot allocate memory: %lld MB    %lld  %lld\n"
	.align 8
.LC6:
	.string	"Enter word or sentence (EXIT to break): "
.LC7:
	.string	"EXIT"
	.align 8
.LC8:
	.string	"\nWord: %s  Position in vocabulary: %lld\n"
.LC9:
	.string	"Out of dictionary word!"
	.align 8
.LC10:
	.string	"\n                                              Word       Cosine distance\n------------------------------------------------------------------------"
.LC12:
	.string	"%50s\t\t%f\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, 1176
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -1060[rbp], edi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -1208[rbp], rax
	mov	eax, 2000
	sub	rax, 1
	mov	QWORD PTR -984[rbp], rax
	mov	eax, 2000
	mov	rcx, rax
	mov	ebx, 0
	mov	eax, 2000
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 2000
	mov	rdx, rax
	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
.L2:
	cmp	rsp, rcx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L4
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -976[rbp], rax
	mov	eax, 40
	sub	rax, 1
	mov	QWORD PTR -968[rbp], rax
	mov	eax, 40
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 40
	mov	QWORD PTR -1088[rbp], rax
	mov	QWORD PTR -1080[rbp], 0
	mov	eax, 40
	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
.L5:
	cmp	rsp, rcx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L7
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -960[rbp], rax
	mov	eax, 2000
	sub	rax, 1
	mov	QWORD PTR -952[rbp], rax
	mov	eax, 2000
	mov	QWORD PTR -1104[rbp], rax
	mov	QWORD PTR -1096[rbp], 0
	mov	eax, 2000
	mov	QWORD PTR -1120[rbp], rax
	mov	QWORD PTR -1112[rbp], 0
	mov	eax, 2000
	mov	rdx, rax
	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, 0
	mov	QWORD PTR -944[rbp], rax
	mov	eax, 2000
	sub	rax, 1
	mov	QWORD PTR -936[rbp], rax
	mov	eax, 2000
	mov	QWORD PTR -1136[rbp], rax
	mov	QWORD PTR -1128[rbp], 0
	mov	eax, 2000
	mov	rbx, rax
	mov	eax, 2000
	mov	r8, rax
	mov	r9d, 0
	imul	rdx, r9, 800
	imul	rax, r8, 0
	lea	rcx, [rdx+rax]
	mov	eax, 800
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	mov	eax, 2000
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	eax, 2000
	mov	r10, rax
	mov	r11d, 0
	imul	rdx, r11, 800
	imul	rax, r10, 0
	lea	rcx, [rdx+rax]
	mov	eax, 800
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	mov	eax, 2000
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -928[rbp], rax
	mov	eax, 40
	sub	rax, 1
	mov	QWORD PTR -920[rbp], rax
	mov	eax, 40
	mov	QWORD PTR -1152[rbp], rax
	mov	QWORD PTR -1144[rbp], 0
	mov	eax, 40
	mov	QWORD PTR -1168[rbp], rax
	mov	QWORD PTR -1160[rbp], 0
	mov	eax, 40
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L14:
	cmp	rsp, rdx
	je	.L15
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L14
.L15:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L16
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L16:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -912[rbp], rax
	mov	eax, 2000
	sub	rax, 1
	mov	QWORD PTR -904[rbp], rax
	mov	eax, 2000
	mov	QWORD PTR -1184[rbp], rax
	mov	QWORD PTR -1176[rbp], 0
	mov	eax, 2000
	mov	QWORD PTR -1200[rbp], rax
	mov	QWORD PTR -1192[rbp], 0
	mov	eax, 2000
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -896[rbp], rax
	cmp	DWORD PTR -1060[rbp], 1
	jg	.L20
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -944[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -944[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -888[rbp], rax
	cmp	QWORD PTR -888[rbp], 0
	jne	.L22
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L21
.L22:
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -888[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -1032[rbp]
	mov	rax, QWORD PTR -888[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -1040[rbp]
	mov	edx, 50
	imul	rax, rdx
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -880[rbp], rax
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L23
.L24:
	mov	eax, 2000
	mov	rdi, rax
	call	malloc@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -960[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
	add	QWORD PTR -1016[rbp], 1
.L23:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L24
	mov	rdx, QWORD PTR -1040[rbp]
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -872[rbp], rax
	cmp	QWORD PTR -872[rbp], 0
	jne	.L25
	mov	rdx, QWORD PTR -1032[rbp]
	mov	rax, QWORD PTR -1040[rbp]
	mov	rsi, QWORD PTR -1040[rbp]
	mov	rcx, QWORD PTR -1032[rbp]
	imul	rcx, rsi
	sal	rcx, 2
	mov	rsi, rcx
	shr	rsi, 20
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L21
.L25:
	mov	QWORD PTR -1024[rbp], 0
	jmp	.L26
.L36:
	mov	QWORD PTR -1016[rbp], 0
.L29:
	mov	rax, QWORD PTR -888[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	eax, 50
	imul	rax, QWORD PTR -1024[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rcx
	mov	rcx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -888[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L27
	mov	eax, 50
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L27
	mov	eax, 50
	cmp	QWORD PTR -1016[rbp], rax
	jge	.L29
	mov	eax, 50
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L29
	add	QWORD PTR -1016[rbp], 1
	jmp	.L29
.L27:
	mov	eax, 50
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -888[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	add	QWORD PTR -1016[rbp], 1
.L30:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L31
	pxor	xmm0, xmm0
	movss	DWORD PTR -1048[rbp], xmm0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L32
.L33:
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1048[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1048[rbp], xmm0
	add	QWORD PTR -1016[rbp], 1
.L32:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L33
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1048[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1048[rbp], xmm0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1024[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	divss	xmm0, DWORD PTR -1048[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -1016[rbp], 1
.L34:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L35
	add	QWORD PTR -1024[rbp], 1
.L26:
	mov	rax, QWORD PTR -1040[rbp]
	cmp	QWORD PTR -1024[rbp], rax
	jl	.L36
	mov	rax, QWORD PTR -888[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L95:
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	QWORD PTR -1016[rbp], 1
.L37:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L38
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L39
.L40:
	mov	rax, QWORD PTR -960[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -1016[rbp], 1
.L39:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L40
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -1016[rbp], 0
.L44:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	rcx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L41
	mov	eax, 2000
	sub	rax, 1
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L42
.L41:
	mov	rdx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	mov	rax, QWORD PTR -976[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	jmp	.L99
.L42:
	add	QWORD PTR -1016[rbp], 1
	jmp	.L44
.L45:
	mov	QWORD PTR -992[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
.L50:
	mov	rdx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1008[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	rcx, QWORD PTR -928[rbp]
	mov	rdx, rbx
	imul	rdx, QWORD PTR -992[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -1024[rbp]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -1024[rbp], 1
	add	QWORD PTR -1008[rbp], 1
	mov	rdx, QWORD PTR -928[rbp]
	mov	rax, rbx
	imul	rax, QWORD PTR -992[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -1024[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1008[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L102
	mov	rdx, QWORD PTR -976[rbp]
	mov	rax, QWORD PTR -1008[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L50
	add	QWORD PTR -992[rbp], 1
	mov	QWORD PTR -1024[rbp], 0
	add	QWORD PTR -1008[rbp], 1
	jmp	.L50
.L102:
	nop
	add	QWORD PTR -992[rbp], 1
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L51
.L59:
	mov	QWORD PTR -1024[rbp], 0
	jmp	.L52
.L55:
	mov	rdx, rbx
	imul	rdx, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR -928[rbp]
	add	rdx, rax
	mov	eax, 50
	imul	rax, QWORD PTR -1024[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L103
	add	QWORD PTR -1024[rbp], 1
.L52:
	mov	rax, QWORD PTR -1040[rbp]
	cmp	QWORD PTR -1024[rbp], rax
	jl	.L55
	jmp	.L54
.L103:
	nop
.L54:
	mov	rax, QWORD PTR -1040[rbp]
	cmp	QWORD PTR -1024[rbp], rax
	jne	.L56
	mov	QWORD PTR -1024[rbp], -1
.L56:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR -1024[rbp]
	mov	QWORD PTR -864[rbp+rax*8], rdx
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR -864[rbp+rax*8]
	mov	rcx, rbx
	imul	rcx, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR -928[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -1024[rbp], -1
	jne	.L57
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L58
.L57:
	add	QWORD PTR -1016[rbp], 1
.L51:
	mov	rax, QWORD PTR -1016[rbp]
	cmp	rax, QWORD PTR -992[rbp]
	jl	.L59
.L58:
	cmp	QWORD PTR -1024[rbp], -1
	je	.L104
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	QWORD PTR -1016[rbp], 1
.L62:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L63
	mov	QWORD PTR -1024[rbp], 0
	jmp	.L64
.L69:
	mov	rax, QWORD PTR -1024[rbp]
	mov	rax, QWORD PTR -864[rbp+rax*8]
	cmp	rax, -1
	je	.L105
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -1024[rbp]
	mov	rdx, QWORD PTR -864[rbp+rax*8]
	mov	rax, QWORD PTR -1032[rbp]
	imul	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	QWORD PTR -1016[rbp], 1
.L67:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L68
	jmp	.L66
.L105:
	nop
.L66:
	add	QWORD PTR -1024[rbp], 1
.L64:
	mov	rax, QWORD PTR -1024[rbp]
	cmp	rax, QWORD PTR -992[rbp]
	jl	.L69
	pxor	xmm0, xmm0
	movss	DWORD PTR -1048[rbp], xmm0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1048[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1048[rbp], xmm0
	add	QWORD PTR -1016[rbp], 1
.L70:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L71
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -1048[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1048[rbp], xmm0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L72
.L73:
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm0, DWORD PTR [rax+rdx*4]
	divss	xmm0, DWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	QWORD PTR -1016[rbp], 1
.L72:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L73
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L74
.L75:
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	QWORD PTR -1016[rbp], 1
.L74:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L75
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L76
.L77:
	mov	rax, QWORD PTR -960[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -1016[rbp], 1
.L76:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L77
	mov	QWORD PTR -1008[rbp], 0
	jmp	.L78
.L92:
	mov	QWORD PTR -1016[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	jmp	.L79
.L81:
	mov	rax, QWORD PTR -1024[rbp]
	mov	rax, QWORD PTR -864[rbp+rax*8]
	cmp	QWORD PTR -1008[rbp], rax
	jne	.L80
	mov	QWORD PTR -1016[rbp], 1
.L80:
	add	QWORD PTR -1024[rbp], 1
.L79:
	mov	rax, QWORD PTR -1024[rbp]
	cmp	rax, QWORD PTR -992[rbp]
	jl	.L81
	cmp	QWORD PTR -1016[rbp], 1
	je	.L106
	pxor	xmm0, xmm0
	movss	DWORD PTR -1044[rbp], xmm0
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L84
.L85:
	mov	rax, QWORD PTR -896[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -1032[rbp]
	imul	rax, QWORD PTR -1008[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -872[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -1044[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1044[rbp], xmm0
	add	QWORD PTR -1016[rbp], 1
.L84:
	mov	rax, QWORD PTR -1032[rbp]
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L85
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L86
.L91:
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm1, DWORD PTR [rax+rdx*4]
	movss	xmm0, DWORD PTR -1044[rbp]
	comiss	xmm0, xmm1
	jbe	.L101
	mov	eax, 40
	sub	rax, 1
	mov	QWORD PTR -1000[rbp], rax
	jmp	.L89
.L90:
	mov	rax, QWORD PTR -1000[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -912[rbp]
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1000[rbp]
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rax, QWORD PTR -1000[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -960[rbp]
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -960[rbp]
	mov	rcx, QWORD PTR -1000[rbp]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	sub	QWORD PTR -1000[rbp], 1
.L89:
	mov	rax, QWORD PTR -1000[rbp]
	cmp	rax, QWORD PTR -1016[rbp]
	jg	.L90
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm0, DWORD PTR -1044[rbp]
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	eax, 50
	imul	rax, QWORD PTR -1008[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -880[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -960[rbp]
	mov	rcx, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L83
.L101:
	add	QWORD PTR -1016[rbp], 1
.L86:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L91
	jmp	.L83
.L106:
	nop
.L83:
	add	QWORD PTR -1008[rbp], 1
.L78:
	mov	rax, QWORD PTR -1040[rbp]
	cmp	QWORD PTR -1008[rbp], rax
	jl	.L92
	mov	QWORD PTR -1016[rbp], 0
	jmp	.L93
.L94:
	mov	rax, QWORD PTR -912[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rdx, xmm4
	mov	rax, QWORD PTR -960[rbp]
	mov	rcx, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR [rax+rcx*8]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -1016[rbp], 1
.L93:
	mov	eax, 40
	cmp	QWORD PTR -1016[rbp], rax
	jl	.L94
	jmp	.L95
.L104:
	nop
	jmp	.L95
.L99:
	mov	eax, 0
.L21:
	mov	rsp, QWORD PTR -1208[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L97
	call	__stack_chk_fail@PLT
.L97:
	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 4
.LC11:
	.long	-1082130432
	.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	"154827356.c"
	.text
	.global	max_size
	.section	.rodata
	.align	3
	.type	max_size, %object
	.size	max_size, 8
max_size:
	.word	2000
	.word	0
	.global	N
	.align	3
	.type	N, %object
	.size	N, 8
N:
	.word	40
	.word	0
	.global	max_w
	.align	3
	.type	max_w, %object
	.size	max_w, 8
max_w:
	.word	50
	.word	0
	.align	2
.LC0:
	.ascii	"Usage: ./distance <FILE>\012where FILE contains wor"
	.ascii	"d projections in the BINARY FORMAT\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"Input file not found\000"
	.align	2
.LC3:
	.ascii	"%lld\000"
	.align	2
.LC4:
	.ascii	"Cannot allocate memory: %lld MB    %lld  %lld\012\000"
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.global	__aeabi_fdiv
	.align	2
.LC5:
	.ascii	"Enter word or sentence (EXIT to break): \000"
	.align	2
.LC6:
	.ascii	"EXIT\000"
	.align	2
.LC7:
	.ascii	"\012Word: %s  Position in vocabulary: %lld\012\000"
	.align	2
.LC8:
	.ascii	"Out of dictionary word!\000"
	.align	2
.LC9:
	.ascii	"\012                                              W"
	.ascii	"ord       Cosine distance\012----------------------"
	.ascii	"--------------------------------------------------\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC10:
	.ascii	"%50s\011\011%f\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #1248
	sub	sp, sp, #4
	str	r0, [fp, #-976]
	str	r1, [fp, #-980]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	str	r3, [fp, #-1264]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-960]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #0
	str	r3, [fp, #-956]
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-952]
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #40
	mov	r3, #0
	mov	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-948]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-944]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #0
	str	r3, [fp, #-940]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-936]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, #2000
	mov	r3, #0
	mov	r10, r2
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	adds	r1, r2, r2
	str	r1, [fp, #-1012]
	adc	r3, r3, r3
	str	r3, [fp, #-1008]
	sub	r3, fp, #1012
	ldmia	r3, {r2-r3}
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	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, r0
	mov	r3, r1
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	adds	r1, r2, r2
	str	r1, [fp, #-1020]
	adc	r3, r3, r3
	str	r3, [fp, #-1016]
	sub	r3, fp, #1020
	ldmia	r3, {r2-r3}
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	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, r0
	mov	r3, r1
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #0
	str	r3, [fp, #-932]
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-928]
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #40
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #40
	mov	r3, #0
	mov	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-924]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-920]
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, #2000
	mov	r3, #0
	mov	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-916]
	ldr	r3, [fp, #-976]
	cmp	r3, #1
	bgt	.L2
	ldr	r0, .L89+4
	bl	puts
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-980]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-940]
	bl	strcpy
	ldr	r1, .L89+8
	ldr	r0, [fp, #-940]
	bl	fopen
	str	r0, [fp, #-912]
	ldr	r3, [fp, #-912]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L89+12
	bl	puts
	mvn	r3, #0
	b	.L3
.L4:
	sub	r3, fp, #900
	mov	r2, r3
	ldr	r1, .L89+16
	ldr	r0, [fp, #-912]
	bl	__isoc99_fscanf
	sub	r3, fp, #892
	mov	r2, r3
	ldr	r1, .L89+16
	ldr	r0, [fp, #-912]
	bl	__isoc99_fscanf
	sub	r3, fp, #900
	ldmia	r3, {r2-r3}
	mov	r1, r2
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r3, r1, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-908]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L5
.L6:
	mov	r2, #2000
	mov	r3, #0
	mov	r3, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-876]
	str	r1, [r2, r3, lsl #2]
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1028]
	adc	r3, r3, #0
	str	r3, [fp, #-1024]
	ldr	r3, [fp, #-1028]
	ldr	r4, [fp, #-1024]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L5:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L6
	sub	r3, fp, #900
	ldmia	r3, {r2-r3}
	mov	r1, r2
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-904]
	ldr	r3, [fp, #-904]
	cmp	r3, #0
	bne	.L7
	sub	r5, fp, #900
	ldmia	r5, {r4-r5}
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	asr	r1, r3, #31
	mov	r0, r1
	asr	r1, r0, #31
	ldr	r4, .L89+20
	mov	r5, #0
	and	r8, r0, r4
	and	r9, r1, r5
	adds	r6, r8, r2
	adc	r7, r9, r3
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #18
	orr	r2, r2, r7, lsl #14
	asr	r3, r7, #18
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #900
	ldmia	r3, {r2-r3}
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L89+24
	bl	printf
	mvn	r3, #0
	b	.L3
.L7:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	b	.L8
.L18:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
.L11:
	ldr	r0, [fp, #-912]
	bl	fgetc
	ldr	r1, [fp, #-884]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	ldr	r3, [fp, #-908]
	add	r2, r3, r2
	and	r3, r0, #255
	strb	r3, [r2]
	ldr	r0, [fp, #-912]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r1, [fp, #-884]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	ldr	r3, [fp, #-908]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L9
	mov	r0, #50
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L11
	ldr	r1, [fp, #-884]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	ldr	r3, [fp, #-908]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L11
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1036]
	adc	r3, r3, #0
	str	r3, [fp, #-1032]
	ldr	r3, [fp, #-1036]
	ldr	r4, [fp, #-1032]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
	b	.L11
.L9:
	ldr	r1, [fp, #-884]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	ldr	r3, [fp, #-908]
	add	r2, r3, r2
	mov	r3, #0
	strb	r3, [r2]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L12
.L13:
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-884]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r0, r3, r2
	ldr	r3, [fp, #-912]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1044]
	adc	r3, r3, #0
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1044]
	ldr	r4, [fp, #-1040]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L12:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-968]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L14
.L15:
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-884]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r3, r3, r2
	ldr	ip, [r3]	@ float
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-884]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r3, r3, r2
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-968]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-968]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1052]
	adc	r3, r3, #0
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1052]
	ldr	r4, [fp, #-1048]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L14:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L15
	ldr	r0, [fp, #-968]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-968]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L16
.L17:
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-884]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r3, r3, r2
	ldr	ip, [r3]	@ float
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-884]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r4, r3, r2
	ldr	r1, [fp, #-968]	@ float
	mov	r0, ip
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [r4]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1060]
	adc	r3, r3, #0
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1060]
	ldr	r4, [fp, #-1056]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L16:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L17
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1068]
	adc	r3, r3, #0
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1068]
	ldr	r4, [fp, #-1064]
	str	r3, [fp, #-884]
	str	r4, [fp, #-880]
.L8:
	sub	r1, fp, #900
	ldmia	r1, {r0-r1}
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L18
	ldr	r0, [fp, #-912]
	bl	fclose
.L77:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L19
.L20:
	ldr	r1, [fp, #-924]
	ldr	r2, [fp, #-876]
	mov	r3, #0
	str	r3, [r1, r2, lsl #2]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1076]
	adc	r3, r3, #0
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1076]
	ldr	r4, [fp, #-1072]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L19:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L20
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L21
.L22:
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-876]
	ldr	r2, [r2, r3, lsl #2]
	mov	r3, #0
	strb	r3, [r2]
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1084]
	adc	r3, r3, #0
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1084]
	ldr	r4, [fp, #-1080]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L21:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L22
	ldr	r0, .L89+28
	bl	printf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
.L26:
	ldr	r3, .L89+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	and	r1, r3, #255
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	mov	r3, r1
	strb	r3, [r2]
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-876]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L23
	mov	r2, #2000
	mov	r3, #0
	subs	r1, r2, #1
	str	r1, [fp, #-988]
	sbc	r3, r3, #0
	str	r3, [fp, #-984]
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	sub	r1, fp, #988
	ldmia	r1, {r0-r1}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L24
.L23:
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-876]
	add	r2, r2, r3
	mov	r3, #0
	strb	r3, [r2]
	nop
	ldr	r1, .L89+36
	ldr	r0, [fp, #-956]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	b	.L81
.L24:
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1092]
	adc	r3, r3, #0
	str	r3, [fp, #-1088]
	ldr	r3, [fp, #-1092]
	ldr	r4, [fp, #-1088]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
	b	.L26
.L27:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-852]
	str	r3, [fp, #-848]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-868]
	str	r3, [fp, #-864]
.L32:
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-868]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-932]
	ldr	r3, [fp, #-852]
	mul	r2, r3, r10
	ldr	r3, [fp, #-884]
	add	r3, r1, r3
	add	r2, r3, r2
	mov	r3, r0
	strb	r3, [r2]
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1100]
	adc	r3, r3, #0
	str	r3, [fp, #-1096]
	ldr	r3, [fp, #-1100]
	ldr	r4, [fp, #-1096]
	str	r3, [fp, #-884]
	str	r4, [fp, #-880]
	sub	r3, fp, #868
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1108]
	adc	r3, r3, #0
	str	r3, [fp, #-1104]
	ldr	r3, [fp, #-1108]
	ldr	r4, [fp, #-1104]
	str	r3, [fp, #-868]
	str	r4, [fp, #-864]
	ldr	r1, [fp, #-932]
	ldr	r3, [fp, #-852]
	mul	r2, r3, r10
	ldr	r3, [fp, #-884]
	add	r3, r1, r3
	add	r2, r3, r2
	mov	r3, #0
	strb	r3, [r2]
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-868]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L84
	ldr	r2, [fp, #-956]
	ldr	r3, [fp, #-868]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L32
	sub	r3, fp, #852
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1116]
	adc	r3, r3, #0
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1116]
	ldr	r4, [fp, #-1112]
	str	r3, [fp, #-852]
	str	r4, [fp, #-848]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	sub	r3, fp, #868
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1124]
	adc	r3, r3, #0
	str	r3, [fp, #-1120]
	ldr	r3, [fp, #-1124]
	ldr	r4, [fp, #-1120]
	str	r3, [fp, #-868]
	str	r4, [fp, #-864]
	b	.L32
.L84:
	nop
	sub	r3, fp, #852
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1132]
	adc	r3, r3, #0
	str	r3, [fp, #-1128]
	ldr	r3, [fp, #-1132]
	ldr	r4, [fp, #-1128]
	str	r3, [fp, #-852]
	str	r4, [fp, #-848]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L33
.L41:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	b	.L34
.L37:
	ldr	r1, [fp, #-884]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-908]
	add	r0, r3, r2
	ldr	r3, [fp, #-876]
	mul	r2, r3, r10
	ldr	r3, [fp, #-932]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1140]
	adc	r3, r3, #0
	str	r3, [fp, #-1136]
	ldr	r3, [fp, #-1140]
	ldr	r4, [fp, #-1136]
	str	r3, [fp, #-884]
	str	r4, [fp, #-880]
.L34:
	sub	r1, fp, #900
	ldmia	r1, {r0-r1}
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L37
	b	.L36
.L85:
	nop
.L36:
	sub	r1, fp, #900
	ldmia	r1, {r0-r1}
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L38
	mvn	r2, #0
	mvn	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
.L38:
	ldr	r3, [fp, #-876]
	lsl	r3, r3, #3
	sub	r2, fp, #36
	add	r3, r2, r3
	sub	r1, r3, #808
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-876]
	mul	r2, r3, r10
	ldr	r3, [fp, #-932]
	add	r1, r3, r2
	ldr	r3, [fp, #-876]
	lsl	r3, r3, #3
	sub	r2, fp, #36
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r2-r3}
	ldr	r0, .L89+40
	bl	printf
	sub	r1, fp, #884
	ldmia	r1, {r0-r1}
	mvn	r2, #0
	mvn	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L39
	ldr	r0, .L89+44
	bl	puts
	b	.L40
.L39:
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1148]
	adc	r3, r3, #0
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1148]
	ldr	r4, [fp, #-1144]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L33:
	sub	r1, fp, #876
	ldmia	r1, {r0-r1}
	sub	r3, fp, #852
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L41
.L40:
	sub	r1, fp, #884
	ldmia	r1, {r0-r1}
	mvn	r2, #0
	mvn	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L86
	ldr	r0, .L89+48
	bl	puts
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L44
.L90:
	.align	2
.L89:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	262143
	.word	.LC4
	.word	.LC5
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	-1082130432
	.word	.LC10
	.word	.LC11
.L45:
	ldr	r1, [fp, #-916]
	ldr	r2, [fp, #-876]
	mov	r3, #0
	str	r3, [r1, r2, lsl #2]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1156]
	adc	r3, r3, #0
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1156]
	ldr	r4, [fp, #-1152]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L44:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L45
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	b	.L46
.L51:
	ldr	r3, [fp, #-884]
	lsl	r3, r3, #3
	sub	r2, fp, #36
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r0-r1}
	mvn	r2, #0
	mvn	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L87
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L49
.L50:
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	ldr	ip, [r2, r3, lsl #2]	@ float
	ldr	r0, [fp, #-876]
	ldr	r3, [fp, #-884]
	lsl	r3, r3, #3
	sub	r2, fp, #36
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r2-r3}
	mov	r1, r2
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r3, r3, r2
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	str	r1, [r2, r3, lsl #2]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1164]
	adc	r3, r3, #0
	str	r3, [fp, #-1160]
	ldr	r3, [fp, #-1164]
	ldr	r4, [fp, #-1160]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L49:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L50
	b	.L48
.L87:
	nop
.L48:
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1172]
	adc	r3, r3, #0
	str	r3, [fp, #-1168]
	ldr	r3, [fp, #-1172]
	ldr	r4, [fp, #-1168]
	str	r3, [fp, #-884]
	str	r4, [fp, #-880]
.L46:
	sub	r1, fp, #884
	ldmia	r1, {r0-r1}
	sub	r3, fp, #852
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L51
	mov	r3, #0
	str	r3, [fp, #-968]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L52
.L53:
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	ldr	r0, [r2, r3, lsl #2]	@ float
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	ldr	r3, [r2, r3, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-968]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-968]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1180]
	adc	r3, r3, #0
	str	r3, [fp, #-1176]
	ldr	r3, [fp, #-1180]
	ldr	r4, [fp, #-1176]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L52:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L53
	ldr	r0, [fp, #-968]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-968]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L54
.L55:
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	ldr	r3, [r2, r3, lsl #2]	@ float
	ldr	r1, [fp, #-968]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	str	r1, [r2, r3, lsl #2]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1188]
	adc	r3, r3, #0
	str	r3, [fp, #-1184]
	ldr	r3, [fp, #-1188]
	ldr	r4, [fp, #-1184]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L54:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L55
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L56
.L57:
	ldr	r1, [fp, #-924]
	ldr	r2, [fp, #-876]
	ldr	r3, .L89+52
	str	r3, [r1, r2, lsl #2]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1196]
	adc	r3, r3, #0
	str	r3, [fp, #-1192]
	ldr	r3, [fp, #-1196]
	ldr	r4, [fp, #-1192]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L56:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L57
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L58
.L59:
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-876]
	ldr	r2, [r2, r3, lsl #2]
	mov	r3, #0
	strb	r3, [r2]
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1204]
	adc	r3, r3, #0
	str	r3, [fp, #-1200]
	ldr	r3, [fp, #-1204]
	ldr	r4, [fp, #-1200]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L58:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L59
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-868]
	str	r3, [fp, #-864]
	b	.L60
.L74:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-884]
	str	r3, [fp, #-880]
	b	.L61
.L63:
	ldr	r3, [fp, #-884]
	lsl	r3, r3, #3
	sub	r2, fp, #36
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r0-r1}
	sub	r3, fp, #868
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L62
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
.L62:
	sub	r3, fp, #884
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1212]
	adc	r3, r3, #0
	str	r3, [fp, #-1208]
	ldr	r3, [fp, #-1212]
	ldr	r4, [fp, #-1208]
	str	r3, [fp, #-884]
	str	r4, [fp, #-880]
.L61:
	sub	r1, fp, #884
	ldmia	r1, {r0-r1}
	sub	r3, fp, #852
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L63
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1
	beq	.L88
	mov	r3, #0
	str	r3, [fp, #-964]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L66
.L67:
	ldr	r2, [fp, #-916]
	ldr	r3, [fp, #-876]
	ldr	ip, [r2, r3, lsl #2]	@ float
	ldr	r0, [fp, #-876]
	ldr	r1, [fp, #-868]
	sub	r3, fp, #892
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mul	r3, r1, r3
	add	r3, r0, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-904]
	add	r3, r3, r2
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, ip
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-964]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-964]	@ float
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1220]
	adc	r3, r3, #0
	str	r3, [fp, #-1216]
	ldr	r3, [fp, #-1220]
	ldr	r4, [fp, #-1216]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L66:
	sub	r1, fp, #892
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L67
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L68
.L73:
	ldr	r2, [fp, #-924]
	ldr	r3, [fp, #-876]
	ldr	r3, [r2, r3, lsl #2]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-964]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	mov	r2, #40
	mov	r3, #0
	subs	r1, r2, #1
	str	r1, [fp, #-1228]
	sbc	r3, r3, #0
	str	r3, [fp, #-1224]
	ldr	r3, [fp, #-1228]
	ldr	r4, [fp, #-1224]
	str	r3, [fp, #-860]
	str	r4, [fp, #-856]
	b	.L71
.L72:
	sub	r3, fp, #860
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-996]
	sbc	r3, r3, #0
	str	r3, [fp, #-992]
	ldr	r2, [fp, #-924]
	ldr	r3, [fp, #-996]
	ldr	r1, [r2, r3, lsl #2]	@ float
	ldr	r2, [fp, #-924]
	ldr	r3, [fp, #-860]
	str	r1, [r2, r3, lsl #2]	@ float
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-860]
	ldr	r0, [r2, r3, lsl #2]
	sub	r3, fp, #860
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-1004]
	sbc	r3, r3, #0
	str	r3, [fp, #-1000]
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-1004]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	bl	strcpy
	sub	r3, fp, #860
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-1236]
	sbc	r3, r3, #0
	str	r3, [fp, #-1232]
	ldr	r3, [fp, #-1236]
	ldr	r4, [fp, #-1232]
	str	r3, [fp, #-860]
	str	r4, [fp, #-856]
.L71:
	sub	r1, fp, #860
	ldmia	r1, {r0-r1}
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L72
	ldr	r1, [fp, #-924]
	ldr	r2, [fp, #-876]
	ldr	r3, [fp, #-964]	@ float
	str	r3, [r1, r2, lsl #2]	@ float
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-876]
	ldr	r0, [r2, r3, lsl #2]
	ldr	r1, [fp, #-868]
	mov	r2, #50
	mov	r3, #0
	mov	r3, r2
	mul	r2, r3, r1
	ldr	r3, [fp, #-908]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	b	.L65
.L83:
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1244]
	adc	r3, r3, #0
	str	r3, [fp, #-1240]
	ldr	r3, [fp, #-1244]
	ldr	r4, [fp, #-1240]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L68:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L73
	b	.L65
.L88:
	nop
.L65:
	sub	r3, fp, #868
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1252]
	adc	r3, r3, #0
	str	r3, [fp, #-1248]
	ldr	r3, [fp, #-1252]
	ldr	r4, [fp, #-1248]
	str	r3, [fp, #-868]
	str	r4, [fp, #-864]
.L60:
	sub	r1, fp, #900
	ldmia	r1, {r0-r1}
	sub	r3, fp, #868
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L74
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-876]
	str	r3, [fp, #-872]
	b	.L75
.L76:
	ldr	r2, [fp, #-948]
	ldr	r3, [fp, #-876]
	ldr	r4, [r2, r3, lsl #2]
	ldr	r2, [fp, #-924]
	ldr	r3, [fp, #-876]
	ldr	r3, [r2, r3, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L89+56
	bl	printf
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-1260]
	adc	r3, r3, #0
	str	r3, [fp, #-1256]
	ldr	r3, [fp, #-1260]
	ldr	r4, [fp, #-1256]
	str	r3, [fp, #-876]
	str	r4, [fp, #-872]
.L75:
	mov	r0, #40
	mov	r1, #0
	sub	r3, fp, #876
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L76
	b	.L77
.L86:
	nop
	b	.L77
.L81:
	mov	r3, #0
.L3:
	ldr	sp, [fp, #-1264]
	ldr	r2, .L89+60
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
