	.file	"177444.c"
	.intel_syntax noprefix
	.text
	.globl	max
	.bss
	.align 4
	.type	max, @object
	.size	max, 4
max:
	.zero	4
	.globl	line
	.align 32
	.type	line, @object
	.size	line, 1000
line:
	.zero	1000
	.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, 1024
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR max[rip], 0
	jmp	.L2
.L3:
	call	removeTabs
.L2:
	call	getLine
	mov	DWORD PTR -1012[rbp], eax
	cmp	DWORD PTR -1012[rbp], 0
	jg	.L3
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	getLine
	.type	getLine, @function
getLine:
.LFB1:
	.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 -4[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, line[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 998
	jg	.L8
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	je	.L8
	cmp	DWORD PTR -8[rbp], 10
	jne	.L9
.L8:
	cmp	DWORD PTR -8[rbp], 10
	jne	.L10
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, line[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, line[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getLine, .-getLine
	.globl	removeTabs
	.type	removeTabs, @function
removeTabs:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1024
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1016[rbp], 0
	mov	eax, DWORD PTR -1016[rbp]
	mov	DWORD PTR -1020[rbp], eax
	jmp	.L13
.L18:
	mov	eax, DWORD PTR -1020[rbp]
	cdqe
	lea	rdx, line[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 9
	jne	.L14
	mov	DWORD PTR -1012[rbp], 0
	jmp	.L15
.L16:
	mov	edx, DWORD PTR -1012[rbp]
	mov	eax, DWORD PTR -1016[rbp]
	add	eax, edx
	cdqe
	mov	BYTE PTR -1008[rbp+rax], 32
	add	DWORD PTR -1012[rbp], 1
.L15:
	cmp	DWORD PTR -1012[rbp], 3
	jle	.L16
	add	DWORD PTR -1016[rbp], 4
	jmp	.L17
.L14:
	mov	eax, DWORD PTR -1020[rbp]
	cdqe
	lea	rdx, line[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -1016[rbp]
	cdqe
	mov	BYTE PTR -1008[rbp+rax], dl
	add	DWORD PTR -1016[rbp], 1
.L17:
	add	DWORD PTR -1020[rbp], 1
.L13:
	mov	eax, DWORD PTR -1020[rbp]
	cdqe
	lea	rdx, line[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L18
	mov	eax, DWORD PTR -1016[rbp]
	cdqe
	mov	BYTE PTR -1008[rbp+rax], 0
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	removeTabs, .-removeTabs
	.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	"177444.c"
	.text
	.comm	max,4,4
	.comm	line,1000,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1008
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1008
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	bl	removeTabs
.L2:
	bl	getLine
	str	r0, [fp, #-1012]
	ldr	r3, [fp, #-1012]
	cmp	r3, #0
	bgt	.L3
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	max
	.size	main, .-main
	.align	2
	.global	getLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	getLine, %function
getLine:
	@ 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, #-8]
	b	.L9
.L11:
	ldr	r3, [fp, #-12]
	and	r1, r3, #255
	ldr	r2, .L14
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	ldr	r2, .L14+4
	cmp	r3, r2
	bgt	.L10
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L10
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L11
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L12
	ldr	r3, [fp, #-12]
	and	r1, r3, #255
	ldr	r2, .L14
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r2, .L14
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	line
	.word	998
	.size	getLine, .-getLine
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	removeTabs
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeTabs, %function
removeTabs:
	@ args = 0, pretend = 0, frame = 1016
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1016
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1016]
	ldr	r3, [fp, #-1016]
	str	r3, [fp, #-1020]
	b	.L17
.L22:
	ldr	r2, .L24+4
	ldr	r3, [fp, #-1020]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-1012]
	b	.L19
.L20:
	ldr	r2, [fp, #-1012]
	ldr	r3, [fp, #-1016]
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #-1004]
	ldr	r3, [fp, #-1012]
	add	r3, r3, #1
	str	r3, [fp, #-1012]
.L19:
	ldr	r3, [fp, #-1012]
	cmp	r3, #3
	ble	.L20
	ldr	r3, [fp, #-1016]
	add	r3, r3, #4
	str	r3, [fp, #-1016]
	b	.L21
.L18:
	ldr	r2, .L24+4
	ldr	r3, [fp, #-1020]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #1008
	ldr	r3, [fp, #-1016]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1016]
	add	r3, r3, #1
	str	r3, [fp, #-1016]
.L21:
	ldr	r3, [fp, #-1020]
	add	r3, r3, #1
	str	r3, [fp, #-1020]
.L17:
	ldr	r2, .L24+4
	ldr	r3, [fp, #-1020]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	sub	r2, fp, #1008
	ldr	r3, [fp, #-1016]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1008
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	line
	.size	removeTabs, .-removeTabs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
