	.file	"125140009.c"
	.intel_syntax noprefix
	.text
	.globl	word_table
	.bss
	.align 32
	.type	word_table, @object
	.size	word_table, 294912
word_table:
	.zero	294912
	.globl	words
	.align 32
	.type	words, @object
	.size	words, 3600000
words:
	.zero	3600000
	.globl	witer
	.align 8
	.type	witer, @object
	.size	witer, 8
witer:
	.zero	8
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"essay.txt"
.LC2:
	.string	"%lu\t%s\n"
.LC4:
	.string	"%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	clock@PLT
	mov	QWORD PTR -96[rbp], rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -112[rbp], 0
	jmp	.L2
.L9:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	BYTE PTR -64[rbp+rax], 0
	mov	QWORD PTR -112[rbp], 0
	movzx	eax, BYTE PTR -64[rbp]
	test	al, al
	jne	.L4
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR -64[rbp+rax], dl
	jmp	.L2
.L4:
	lea	rax, -64[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	hash@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, word_table[rip]
	add	rax, rdx
	mov	QWORD PTR -104[rbp], rax
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 8[rax]
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 64[rax]
	add	rdx, 1
	mov	QWORD PTR 64[rax], rdx
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -104[rbp], rax
.L5:
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L8
.L7:
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L2
	mov	rdx, QWORD PTR witer[rip]
	lea	rax, 1[rdx]
	mov	QWORD PTR witer[rip], rax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, words[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 64[rax], 1
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 8[rax]
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L2:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], -1
	jne	.L9
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -112[rbp], 0
	jmp	.L10
.L13:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, word_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -104[rbp], rax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -104[rbp], rax
.L11:
	cmp	QWORD PTR -104[rbp], 0
	jne	.L12
	add	QWORD PTR -112[rbp], 1
.L10:
	cmp	QWORD PTR -112[rbp], 4095
	jbe	.L13
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, QWORD PTR -96[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1093567616
	.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	"125140009.c"
	.text
	.comm	word_table,245760,4
	.comm	words,3000000,4
	.global	witer
	.bss
	.align	2
	.type	witer, %object
	.size	witer, 4
witer:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"essay.txt\000"
	.align	2
.LC2:
	.ascii	"%lu\011%s\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC3:
	.ascii	"%f\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	clock
	str	r0, [fp, #-84]
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L2
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-92]
	add	r2, r3, #1
	str	r2, [fp, #-92]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-56]
	mov	r3, #0
	str	r3, [fp, #-92]
	ldrb	r3, [fp, #-60]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	b	.L2
.L3:
	ldr	r0, [fp, #-76]
	bl	tolower
	mov	r1, r0
	ldr	r3, [fp, #-92]
	add	r2, r3, #1
	str	r2, [fp, #-92]
	and	r2, r1, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-56]
	b	.L2
.L4:
	sub	r1, fp, #60
	mov	r2, #4096
	mov	r3, #0
	mov	r0, r1
	bl	hash
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L16+12
	add	r3, r3, r2
	str	r3, [fp, #-88]
	b	.L5
.L8:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	add	r3, r3, #4
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	ldr	r2, [r3, #56]
	add	r2, r2, #1
	str	r2, [r3, #56]
	b	.L7
.L6:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	str	r3, [fp, #-88]
.L5:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L16+16
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L16+16
	str	r3, [r1]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L16+20
	add	r2, r3, r2
	ldr	r3, [fp, #-88]
	str	r2, [r3]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #56]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	add	r3, r3, #4
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L2:
	ldr	r0, [fp, #-80]
	bl	getc
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L9
	bl	clock
	str	r0, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L10
.L13:
	ldr	r1, .L16+12
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-88]
	b	.L11
.L12:
	ldr	r3, [fp, #-88]
	ldr	r1, [r3, #56]
	ldr	r3, [fp, #-88]
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	str	r3, [fp, #-88]
.L11:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L10:
	ldr	r3, [fp, #-92]
	cmp	r3, #4096
	bcc	.L13
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-84]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	word_table
	.word	witer
	.word	words
	.word	.LC2
	.word	1093567616
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
