	.file	"918559.c"
	.intel_syntax noprefix
	.text
	.globl	len_word
	.bss
	.align 4
	.type	len_word, @object
	.size	len_word, 4
len_word:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	lengths
	.align 32
	.type	lengths, @object
	.size	lengths, 100
lengths:
	.zero	100
	.globl	string
	.align 16
	.type	string, @object
	.size	string, 25
string:
	.zero	25
	.globl	currentChar
	.type	currentChar, @object
	.size	currentChar, 3
currentChar:
	.zero	3
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"%2.0d:"
.LC2:
	.string	"(%3d)  "
	.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, 16
	jmp	.L2
.L6:
	cmp	DWORD PTR -4[rbp], 32
	je	.L3
	cmp	DWORD PTR -4[rbp], 9
	je	.L3
	cmp	DWORD PTR -4[rbp], 10
	je	.L3
	cmp	DWORD PTR -4[rbp], 44
	je	.L3
	cmp	DWORD PTR -4[rbp], 46
	jne	.L4
.L3:
	lea	rdi, string[rip]
	call	strlen@PLT
	mov	DWORD PTR len_word[rip], eax
	mov	eax, DWORD PTR len_word[rip]
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*4]
	lea	rdx, lengths[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lengths[rip]
	mov	DWORD PTR [rdx+rax], ecx
	lea	rdi, string[rip]
	call	strlen@PLT
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, string[rip]
	call	memset@PLT
	nop
.L5:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 32
	je	.L5
	cmp	DWORD PTR -4[rbp], 9
	je	.L5
	cmp	DWORD PTR -4[rbp], 10
	je	.L5
	cmp	DWORD PTR -4[rbp], 44
	je	.L5
	cmp	DWORD PTR -4[rbp], 46
	je	.L5
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	mov	esi, 4
	lea	rdi, currentChar[rip]
	mov	eax, 0
	call	snprintf@PLT
	lea	rsi, currentChar[rip]
	lea	rdi, string[rip]
	call	strcat@PLT
.L2:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	mov	DWORD PTR i[rip], 1
	jmp	.L7
.L10:
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lengths[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR j[rip], 0
	jmp	.L8
.L9:
	mov	edi, 124
	call	putchar@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, lengths[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jg	.L9
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L7:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 24
	jle	.L10
	nop
	nop
	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	"918559.c"
	.text
	.comm	len_word,4,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	lengths,100,4
	.global	string
	.bss
	.align	2
	.type	string, %object
	.size	string, 25
string:
	.space	25
	.global	currentChar
	.align	2
	.type	currentChar, %object
	.size	currentChar, 3
currentChar:
	.space	3
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	"%2.0d:\000"
	.align	2
.LC2:
	.ascii	"(%3d)  \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	b	.L2
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #44
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #46
	bne	.L4
.L3:
	ldr	r0, .L11
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L11+4
	str	r2, [r3]
	ldr	r3, .L11+4
	ldr	r3, [r3]
	ldr	r2, .L11+8
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L11+8
	str	r2, [r1, r3, lsl #2]
	ldr	r0, .L11
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, #0
	ldr	r0, .L11
	bl	memset
	nop
.L5:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #44
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #46
	beq	.L5
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, .L11+12
	mov	r1, #4
	ldr	r0, .L11+16
	bl	snprintf
	ldr	r1, .L11+16
	ldr	r0, .L11
	bl	strcat
.L2:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L11+20
	mov	r2, #1
	str	r2, [r3]
	b	.L7
.L10:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
	ldr	r3, .L11+20
	ldr	r3, [r3]
	ldr	r2, .L11+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L11+28
	bl	printf
	ldr	r3, .L11+32
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L9:
	mov	r0, #124
	bl	putchar
	ldr	r3, .L11+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+32
	str	r3, [r2]
.L8:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	ldr	r2, .L11+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L11+32
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L9
	mov	r0, #10
	bl	putchar
	ldr	r3, .L11+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+20
	str	r3, [r2]
.L7:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	cmp	r3, #24
	ble	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	string
	.word	len_word
	.word	lengths
	.word	.LC0
	.word	currentChar
	.word	i
	.word	.LC1
	.word	.LC2
	.word	j
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
