	.file	"911691.c"
	.intel_syntax noprefix
	.text
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 1016
cnt:
	.zero	1016
	.section	.rodata
.LC0:
	.string	"' '\t'\\n'\t"
.LC1:
	.string	"%c\t"
.LC2:
	.string	"%d\t%d\t"
.LC3:
	.string	"%d\t"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 576
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -528[rbp]
	mov	eax, 0
	mov	ecx, 63
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -400[rbp], 1
	mov	DWORD PTR -492[rbp], 1
	mov	DWORD PTR -488[rbp], 2
	mov	DWORD PTR cnt[rip+12], 0
	mov	DWORD PTR cnt[rip+20], 0
	mov	DWORD PTR -560[rbp], 2
	jmp	.L2
.L4:
	movsx	eax, BYTE PTR -561[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	test	eax, eax
	jne	.L3
	add	DWORD PTR -560[rbp], 1
	movsx	eax, BYTE PTR -561[rbp]
	mov	edx, DWORD PTR -560[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, cnt[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -560[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip+4]
	mov	DWORD PTR [rdx+rax], 1
	movsx	eax, BYTE PTR -561[rbp]
	cdqe
	mov	edx, DWORD PTR -560[rbp]
	mov	DWORD PTR -528[rbp+rax*4], edx
	jmp	.L2
.L3:
	movsx	eax, BYTE PTR -561[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*8]
	lea	rdx, cnt[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
.L2:
	call	getchar@PLT
	mov	BYTE PTR -561[rbp], al
	cmp	BYTE PTR -561[rbp], 35
	jne	.L4
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -556[rbp], 3
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -556[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -556[rbp], 1
.L5:
	cmp	DWORD PTR -556[rbp], 8
	jg	.L6
	mov	eax, DWORD PTR -556[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jle	.L7
.L6:
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR cnt[rip+20]
	mov	eax, DWORD PTR cnt[rip+12]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -552[rbp], 3
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -552[rbp], 1
.L8:
	cmp	DWORD PTR -552[rbp], 8
	jg	.L9
	mov	eax, DWORD PTR -552[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jle	.L10
.L9:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -548[rbp], 9
	jmp	.L11
.L18:
	mov	eax, DWORD PTR -548[rbp]
	mov	DWORD PTR -544[rbp], eax
	mov	DWORD PTR -540[rbp], 1
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -544[rbp], 1
	add	DWORD PTR -540[rbp], 1
.L12:
	mov	eax, DWORD PTR -544[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jg	.L13
	cmp	DWORD PTR -540[rbp], 8
	jle	.L14
.L13:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -548[rbp]
	mov	DWORD PTR -536[rbp], eax
	mov	DWORD PTR -532[rbp], 1
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cnt[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -536[rbp], 1
	add	DWORD PTR -532[rbp], 1
.L15:
	mov	eax, DWORD PTR -536[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jg	.L16
	cmp	DWORD PTR -532[rbp], 8
	jle	.L17
.L16:
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -548[rbp], 8
.L11:
	mov	eax, DWORD PTR -548[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jle	.L18
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"911691.c"
	.text
	.comm	cnt,1016,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"' '\011'\\n'\011\000"
	.align	2
.LC1:
	.ascii	"%c\011\000"
	.align	2
.LC2:
	.ascii	"%d\011%d\011\000"
	.align	2
.LC3:
	.ascii	"%d\011\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 = 552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #552
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-388]
	mov	r3, #1
	str	r3, [fp, #-480]
	mov	r3, #2
	str	r3, [fp, #-476]
	ldr	r3, .L21+4
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L21+4
	mov	r2, #0
	str	r2, [r3, #20]
	mov	r3, #2
	str	r3, [fp, #-548]
	b	.L2
.L4:
	ldrb	r3, [fp, #-549]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-512]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-548]
	add	r3, r3, #1
	str	r3, [fp, #-548]
	ldrb	r2, [fp, #-549]	@ zero_extendqisi2
	ldr	r1, .L21+4
	ldr	r3, [fp, #-548]
	str	r2, [r1, r3, lsl #3]
	ldr	r2, .L21+4
	ldr	r3, [fp, #-548]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
	ldrb	r3, [fp, #-549]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-548]
	str	r2, [r3, #-512]
	b	.L2
.L3:
	ldrb	r3, [fp, #-549]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-512]
	ldr	r1, .L21+4
	lsl	r3, r2, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	add	r1, r3, #1
	ldr	r0, .L21+4
	lsl	r3, r2, #3
	add	r3, r0, r3
	str	r1, [r3, #4]
.L2:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-549]
	ldrb	r3, [fp, #-549]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L4
	ldr	r0, .L21+8
	bl	printf
	mov	r3, #3
	str	r3, [fp, #-544]
	b	.L5
.L7:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-544]
	ldr	r3, [r2, r3, lsl #3]
	mov	r1, r3
	ldr	r0, .L21+12
	bl	printf
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L5:
	ldr	r3, [fp, #-544]
	cmp	r3, #8
	bgt	.L6
	ldr	r2, [fp, #-544]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	ble	.L7
.L6:
	mov	r0, #10
	bl	putchar
	ldr	r3, .L21+4
	ldr	r3, [r3, #12]
	ldr	r2, .L21+4
	ldr	r2, [r2, #20]
	mov	r1, r3
	ldr	r0, .L21+16
	bl	printf
	mov	r3, #3
	str	r3, [fp, #-540]
	b	.L8
.L10:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-540]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
.L8:
	ldr	r3, [fp, #-540]
	cmp	r3, #8
	bgt	.L9
	ldr	r2, [fp, #-540]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	ble	.L10
.L9:
	mov	r0, #10
	bl	putchar
	mov	r3, #9
	str	r3, [fp, #-536]
	b	.L11
.L18:
	ldr	r3, [fp, #-536]
	str	r3, [fp, #-532]
	mov	r3, #1
	str	r3, [fp, #-528]
	b	.L12
.L14:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-532]
	ldr	r3, [r2, r3, lsl #3]
	mov	r1, r3
	ldr	r0, .L21+12
	bl	printf
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L12:
	ldr	r2, [fp, #-532]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	bgt	.L13
	ldr	r3, [fp, #-528]
	cmp	r3, #8
	ble	.L14
.L13:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-536]
	str	r3, [fp, #-524]
	mov	r3, #1
	str	r3, [fp, #-520]
	b	.L15
.L17:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-524]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	str	r3, [fp, #-524]
	ldr	r3, [fp, #-520]
	add	r3, r3, #1
	str	r3, [fp, #-520]
.L15:
	ldr	r2, [fp, #-524]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	bgt	.L16
	ldr	r3, [fp, #-520]
	cmp	r3, #8
	ble	.L17
.L16:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-536]
	add	r3, r3, #8
	str	r3, [fp, #-536]
.L11:
	ldr	r2, [fp, #-536]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	ble	.L18
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC4
	.word	cnt
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
