	.file	"132262.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	curWord, @object
	.size	curWord, 4
curWord:
	.long	2
	.globl	wordVector
	.bss
	.align 32
	.type	wordVector, @object
	.size	wordVector, 40000
wordVector:
	.zero	40000
	.globl	bigramArray
	.align 32
	.type	bigramArray, @object
	.size	bigramArray, 4000000
bigramArray:
	.zero	4000000
	.globl	sumVector
	.align 32
	.type	sumVector, @object
	.size	sumVector, 4000
sumVector:
	.zero	4000
	.section	.rodata
	.align 8
.LC0:
	.string	"\nToo may words, increase MAX_WORDS\n"
	.text
	.globl	loadWord
	.type	loadWord, @function
loadWord:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 2
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, wordVector[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	je	.L12
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR curWord[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L5
	jmp	.L4
.L12:
	nop
.L4:
	mov	eax, DWORD PTR curWord[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L6
	mov	eax, DWORD PTR curWord[rip]
	cmp	eax, 1000
	jne	.L7
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR curWord[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR curWord[rip], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, wordVector[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L6:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR sumVector[rip]
	add	eax, 1
	mov	DWORD PTR sumVector[rip], eax
	jmp	.L9
.L8:
	cmp	DWORD PTR -28[rbp], 2
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 4000
	lea	rdx, bigramArray[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 4000
	lea	rdx, bigramArray[rip+4]
	mov	DWORD PTR [rax+rdx], ecx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1000
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1000
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR sumVector[rip+4]
	add	eax, 1
	mov	DWORD PTR sumVector[rip+4], eax
	jmp	.L9
.L10:
	mov	eax, DWORD PTR lastIndex.0[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rdx, 1000
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, bigramArray[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR lastIndex.0[rip]
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sumVector[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sumVector[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR lastIndex.0[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	loadWord, .-loadWord
	.globl	nextWord
	.type	nextWord, @function
nextWord:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sumVector[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -8[rbp]
	movss	DWORD PTR -24[rbp], xmm2
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mulss	xmm0, DWORD PTR -24[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L14
.L17:
	mov	ecx, DWORD PTR curWord[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L15
	mov	eax, DWORD PTR -16[rbp]
	jmp	.L16
.L15:
	add	DWORD PTR -16[rbp], 1
.L14:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L17
	mov	eax, DWORD PTR -16[rbp]
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextWord, .-nextWord
	.section	.rodata
.LC2:
	.string	"%s "
.LC4:
	.string	"%c.\n\n"
	.text
	.globl	buildSentence
	.type	buildSentence, @function
buildSentence:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	nextWord
	mov	DWORD PTR -8[rbp], eax
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, wordVector[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	nextWord
	mov	DWORD PTR -8[rbp], eax
	call	rand@PLT
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR .LC3[rip]
	mulss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 1
	add	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 99
	jg	.L23
.L19:
	cmp	DWORD PTR -8[rbp], 1
	jne	.L21
	jmp	.L20
.L23:
	nop
.L20:
	mov	esi, 8
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	buildSentence, .-buildSentence
	.section	.rodata
.LC5:
	.string	"vf:"
.LC6:
	.string	"\nUsage is : \n"
.LC7:
	.string	"\t%s -f <filename> -v\n\n"
	.align 8
.LC8:
	.string	"\t\t -f corpus filename\n\t\t -v verbose mode\n"
	.text
	.globl	parseOptions
	.type	parseOptions, @function
parseOptions:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	cmp	DWORD PTR -28[rbp], 1
	jle	.L25
	jmp	.L26
.L29:
	cmp	DWORD PTR -4[rbp], 102
	je	.L27
	cmp	DWORD PTR -4[rbp], 118
	jne	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L28:
	mov	DWORD PTR -8[rbp], 1
.L26:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L29
.L25:
	cmp	DWORD PTR -8[rbp], 0
	je	.L32
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L32:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parseOptions, .-parseOptions
	.section	.rodata
.LC9:
	.string	"r"
	.text
	.globl	parseFile
	.type	parseFile, @function
parseFile:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -80[rbp], 1
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	jmp	.L34
.L42:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], -1
	jne	.L35
	cmp	DWORD PTR -84[rbp], 0
	jle	.L34
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	cdqe
	mov	BYTE PTR -64[rbp+rax], 0
	lea	rax, -64[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	loadWord
	mov	DWORD PTR -84[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 13
	je	.L36
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 10
	je	.L36
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 32
	jne	.L37
.L36:
	cmp	DWORD PTR -84[rbp], 0
	jle	.L34
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	cdqe
	mov	BYTE PTR -64[rbp+rax], 0
	cmp	DWORD PTR -80[rbp], 0
	je	.L39
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	loadWord
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	jmp	.L34
.L39:
	lea	rax, -64[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	loadWord
	mov	DWORD PTR -84[rbp], 0
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 46
	je	.L40
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 63
	jne	.L41
.L40:
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	cdqe
	mov	BYTE PTR -64[rbp+rax], 0
	lea	rax, -64[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	loadWord
	lea	rax, -64[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	loadWord
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -80[rbp], 1
	jmp	.L34
.L41:
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 10
	je	.L34
	mov	eax, DWORD PTR -76[rbp]
	cmp	al, 44
	je	.L34
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	mov	edx, DWORD PTR -76[rbp]
	cdqe
	mov	BYTE PTR -64[rbp+rax], dl
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L42
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parseFile, .-parseFile
	.section	.rodata
.LC10:
	.string	"%20s : "
.LC11:
	.string	"%d "
.LC12:
	.string	" : %d\n"
	.text
	.globl	emitMatrix
	.type	emitMatrix, @function
emitMatrix:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L45
.L48:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, wordVector[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, bigramArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L46:
	mov	eax, DWORD PTR curWord[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L47
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sumVector[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L45:
	mov	eax, DWORD PTR curWord[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	emitMatrix, .-emitMatrix
	.section	.rodata
.LC13:
	.string	"unique = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	mov	esi, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	parseOptions
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rax, bigramArray[rip]
	mov	edx, 4000000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	movabs	rax, 17544160816157500
	mov	QWORD PTR wordVector[rip], rax
	mov	DWORD PTR wordVector[rip+40], 1145980220
	mov	WORD PTR wordVector[rip+44], 62
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parseFile
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	je	.L50
	call	emitMatrix
.L50:
	mov	eax, DWORD PTR curWord[rip]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	call	buildSentence
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.local	lastIndex.0
	.comm	lastIndex.0,4,4
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1105199104
	.align 4
.LC3:
	.long	1094713344
	.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	"132262.c"
	.text
	.data
	.align	2
	.type	curWord, %object
	.size	curWord, 4
curWord:
	.word	2
	.comm	wordVector,40000,4
	.comm	bigramArray,4000000,4
	.comm	sumVector,4000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Too may words, increase MAX_WORDS\012\000"
	.text
	.align	2
	.global	loadWord
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadWord, %function
loadWord:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L13
	add	r3, r3, r2
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L5
	b	.L4
.L12:
	nop
.L4:
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L6
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #1000
	bne	.L7
	ldr	r0, .L13+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L7:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L13+4
	str	r3, [r1]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L13
	add	r3, r3, r2
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
.L6:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
	ldr	r2, .L13+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L13+12
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L13+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+16
	str	r3, [r2]
	b	.L9
.L8:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L10
	ldr	r1, .L13+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L13+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r2, .L13+12
	ldr	r3, [fp, #-8]
	add	r3, r3, #1000
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L13+12
	ldr	r3, [fp, #-8]
	add	r3, r3, #1000
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L13+16
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L13+16
	str	r3, [r2, #4]
	b	.L9
.L10:
	ldr	r3, .L13+20
	ldr	r2, [r3]
	ldr	r0, .L13+12
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r1, [fp, #-8]
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	add	r1, r3, #1
	ldr	r0, .L13+12
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, .L13+20
	ldr	r3, [r3]
	ldr	r2, .L13+16
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L13+16
	str	r2, [r1, r3, lsl #2]
.L9:
	ldr	r2, .L13+20
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	wordVector
	.word	curWord
	.word	.LC0
	.word	bigramArray
	.word	sumVector
	.word	lastIndex.6019
	.size	loadWord, .-loadWord
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_idivmod
	.align	2
	.global	nextWord
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextWord, %function
nextWord:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r2, .L20
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r4, r0
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L20+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L16
.L19:
	ldr	r3, .L20+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-28]
	ldr	r1, .L20+12
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-28]
	b	.L18
.L17:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L16:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-28]
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	sumVector
	.word	1105199104
	.word	curWord
	.word	bigramArray
	.size	nextWord, .-nextWord
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s \000"
	.align	2
.LC2:
	.ascii	"%c.\012\012\000"
	.text
	.align	2
	.global	buildSentence
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildSentence, %function
buildSentence:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-12]
	bl	nextWord
	str	r0, [fp, #-12]
	b	.L23
.L25:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L28
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L28+4
	bl	printf
	ldr	r0, [fp, #-12]
	bl	nextWord
	str	r0, [fp, #-12]
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L28+8
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L28+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	bgt	.L27
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L25
	b	.L24
.L27:
	nop
.L24:
	mov	r1, #8
	ldr	r0, .L28+16
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	wordVector
	.word	.LC1
	.word	1094713344
	.word	1105199104
	.word	.LC2
	.size	buildSentence, .-buildSentence
	.section	.rodata
	.align	2
.LC3:
	.ascii	"vf:\000"
	.align	2
.LC4:
	.ascii	"\012Usage is : \012\000"
	.align	2
.LC5:
	.ascii	"\011%s -f <filename> -v\012\012\000"
	.align	2
.LC6:
	.ascii	"\011\011 -f corpus filename\012\011\011 -v verbose "
	.ascii	"mode\012\000"
	.text
	.align	2
	.global	parseOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseOptions, %function
parseOptions:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	ble	.L31
	b	.L32
.L35:
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	beq	.L33
	ldr	r3, [fp, #-8]
	cmp	r3, #118
	bne	.L34
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3]
	b	.L32
.L33:
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L32
.L34:
	mov	r3, #1
	str	r3, [fp, #-12]
.L32:
	ldr	r2, .L39+4
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L35
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L38
	ldr	r0, .L39+8
	bl	puts
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39+12
	bl	printf
	ldr	r0, .L39+16
	bl	puts
	mov	r0, #0
	bl	exit
.L38:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	optarg
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	parseOptions, .-parseOptions
	.section	.rodata
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parseFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseFile, %function
parseFile:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #1
	str	r3, [fp, #-64]
	ldr	r1, .L52+4
	ldr	r0, [fp, #-72]
	bl	fopen
	str	r0, [fp, #-60]
	b	.L42
.L50:
	ldr	r0, [fp, #-60]
	bl	fgetc
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	bne	.L43
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L42
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	str	r2, [fp, #-68]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-48]
	sub	r3, fp, #52
	mov	r1, #2
	mov	r0, r3
	bl	loadWord
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L42
.L43:
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #13
	beq	.L44
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #10
	beq	.L44
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #32
	bne	.L45
.L44:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L42
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	str	r2, [fp, #-68]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-48]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L47
	sub	r3, fp, #52
	mov	r1, #0
	mov	r0, r3
	bl	loadWord
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L42
.L47:
	sub	r3, fp, #52
	mov	r1, #1
	mov	r0, r3
	bl	loadWord
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L42
.L45:
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #46
	beq	.L48
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #63
	bne	.L49
.L48:
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	str	r2, [fp, #-68]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-48]
	sub	r3, fp, #52
	mov	r1, #1
	mov	r0, r3
	bl	loadWord
	sub	r3, fp, #52
	mov	r1, #2
	mov	r0, r3
	bl	loadWord
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L42
.L49:
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #10
	beq	.L42
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	cmp	r3, #44
	beq	.L42
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	str	r2, [fp, #-68]
	ldr	r2, [fp, #-56]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-48]
.L42:
	ldr	r0, [fp, #-60]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r0, [fp, #-60]
	bl	fclose
	nop
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC8
	.word	.LC7
	.size	parseFile, .-parseFile
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%20s : \000"
	.align	2
.LC10:
	.ascii	"%d \000"
	.align	2
.LC11:
	.ascii	" : %d\012\000"
	.text
	.align	2
	.global	emitMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	emitMatrix, %function
emitMatrix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L55
.L58:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L59
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L59+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L56
.L57:
	ldr	r1, .L59+8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L59+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, .L59+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L57
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L59+24
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L55:
	ldr	r3, .L59+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L58
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	wordVector
	.word	.LC9
	.word	bigramArray
	.word	.LC10
	.word	curWord
	.word	sumVector
	.word	.LC11
	.size	emitMatrix, .-emitMatrix
	.section	.rodata
	.align	2
.LC12:
	.ascii	"<START>\000"
	.align	2
.LC13:
	.ascii	"<END>\000"
	.align	2
.LC14:
	.ascii	"unique = %d\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	sub	r3, fp, #48
	sub	r2, fp, #52
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-60]
	bl	parseOptions
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L65+4
	mov	r0, r3
	ldr	r3, .L65+8
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r2, .L65+12
	ldr	r3, .L65+16
	mov	r0, r2
	mov	r1, r3
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L65+20
	ldr	r3, .L65+24
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #48
	mov	r0, r3
	bl	parseFile
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L62
	bl	emitMatrix
.L62:
	ldr	r3, .L65+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L65+32
	bl	printf
	bl	buildSentence
	mov	r3, #0
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC15
	.word	bigramArray
	.word	4000000
	.word	wordVector
	.word	.LC12
	.word	wordVector+40
	.word	.LC13
	.word	curWord
	.word	.LC14
	.size	main, .-main
	.local	lastIndex.6019
	.comm	lastIndex.6019,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
