	.file	"774352.c"
	.intel_syntax noprefix
	.text
	.local	rmlit
	.comm	rmlit,4,4
	.type	echo_1, @function
echo_1:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	fputc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	echo_1, .-echo_1
	.type	echo_upto, @function
echo_upto:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	jmp	.L3
.L6:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	cmp	DWORD PTR -4[rbp], 92
	jne	.L4
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	echo_1
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L7
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	jmp	.L2
.L7:
	nop
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	echo_upto, .-echo_upto
	.type	skip_1, @function
skip_1:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	skip_1, .-skip_1
	.type	skip_upto, @function
skip_upto:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	jmp	.L10
.L13:
	cmp	DWORD PTR -4[rbp], 92
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	skip_1
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	je	.L14
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L13
	jmp	.L9
.L14:
	nop
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	skip_upto, .-skip_upto
	.type	skip_line, @function
skip_line:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	nop
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L16
	cmp	DWORD PTR -4[rbp], 10
	jne	.L17
.L16:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	skip_line, .-skip_line
	.type	skip_cmt, @function
skip_cmt:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L19
.L22:
	cmp	DWORD PTR -4[rbp], 47
	jne	.L20
	cmp	DWORD PTR -8[rbp], 42
	je	.L23
.L20:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L22
	jmp	.L21
.L23:
	nop
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	ungetc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	skip_cmt, .-skip_cmt
	.type	remove_cmt, @function
remove_cmt:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L25
.L34:
	cmp	DWORD PTR -4[rbp], 92
	je	.L26
	cmp	DWORD PTR -4[rbp], 92
	jg	.L27
	cmp	DWORD PTR -4[rbp], 47
	je	.L28
	cmp	DWORD PTR -4[rbp], 47
	jg	.L27
	cmp	DWORD PTR -4[rbp], 34
	je	.L29
	cmp	DWORD PTR -4[rbp], 39
	jne	.L27
.L29:
	mov	eax, DWORD PTR rmlit[rip]
	test	eax, eax
	je	.L30
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	skip_upto
	jmp	.L25
.L30:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	echo_upto
	jmp	.L25
.L26:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	echo_1
	jmp	.L25
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 47
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	skip_line
	jmp	.L25
.L32:
	cmp	DWORD PTR -4[rbp], 42
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	skip_cmt
	jmp	.L25
.L33:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	edi, 47
	call	fputc@PLT
.L27:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L34
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	remove_cmt, .-remove_cmt
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: coscmt [-h] [-l] [-o outfile] [infiles]\n"
	.text
	.type	help, @function
help:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	help, .-help
	.section	.rodata
.LC1:
	.string	"w"
	.align 8
.LC2:
	.string	"coscmt: unable to open file %s in write mode\n"
.LC3:
	.string	"r"
	.align 8
.LC4:
	.string	"coscmt: unable to open file %s in read mode\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	jmp	.L37
.L42:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L38
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L54
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	jne	.L40
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR rmlit[rip], 1
	jmp	.L38
.L40:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 111
	jne	.L41
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L38
.L41:
	call	help
	jmp	.L38
.L54:
	nop
.L38:
	add	DWORD PTR -24[rbp], 1
.L37:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L42
	cmp	DWORD PTR -20[rbp], 0
	je	.L43
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L44
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L45
.L44:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L45
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
.L43:
	mov	DWORD PTR -24[rbp], 1
	jmp	.L46
.L51:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L55
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L49
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L50
.L49:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L50
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L50:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	remove_cmt
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L48
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L48
.L55:
	nop
.L48:
	add	DWORD PTR -24[rbp], 1
.L46:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L51
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -8[rbp], rax
	je	.L52
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L52:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"774352.c"
	.text
	.local	rmlit
	.comm	rmlit,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	echo_1, %function
echo_1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	fgetc
	mov	r3, r0
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	fputc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	echo_1, .-echo_1
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	echo_upto, %function
echo_upto:
	@ 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]
	b	.L3
.L6:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	fputc
	ldr	r3, [fp, #-8]
	cmp	r3, #92
	bne	.L4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	echo_1
	b	.L3
.L4:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L7
.L3:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	b	.L2
.L7:
	nop
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	echo_upto, .-echo_upto
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_1, %function
skip_1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	fgetc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_1, .-skip_1
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_upto, %function
skip_upto:
	@ 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]
	b	.L10
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #92
	bne	.L11
	ldr	r0, [fp, #-16]
	bl	skip_1
	b	.L10
.L11:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L14
.L10:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L13
	b	.L9
.L14:
	nop
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_upto, .-skip_upto
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_line, %function
skip_line:
	@ 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]
	nop
.L17:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L16
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L17
.L16:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	ungetc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_line, .-skip_line
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_cmt, %function
skip_cmt:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L19
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	bne	.L20
	ldr	r3, [fp, #-12]
	cmp	r3, #42
	beq	.L23
.L20:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L19:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L22
	b	.L21
.L23:
	nop
.L21:
	ldr	r1, [fp, #-16]
	mov	r0, #32
	bl	ungetc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_cmt, .-skip_cmt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_cmt, %function
remove_cmt:
	@ 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]
	b	.L25
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #92
	beq	.L26
	ldr	r3, [fp, #-8]
	cmp	r3, #92
	bgt	.L27
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	beq	.L28
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	bgt	.L27
	ldr	r3, [fp, #-8]
	cmp	r3, #34
	beq	.L29
	ldr	r3, [fp, #-8]
	cmp	r3, #39
	bne	.L27
.L29:
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L30
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	skip_upto
	b	.L25
.L30:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	fputc
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	echo_upto
	b	.L25
.L26:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	fputc
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	echo_1
	b	.L25
.L28:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	bne	.L32
	ldr	r0, [fp, #-16]
	bl	skip_line
	b	.L25
.L32:
	ldr	r3, [fp, #-8]
	cmp	r3, #42
	bne	.L33
	ldr	r0, [fp, #-16]
	bl	skip_cmt
	b	.L25
.L33:
	ldr	r1, [fp, #-20]
	mov	r0, #47
	bl	fputc
.L27:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	fputc
.L25:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L34
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	rmlit
	.size	remove_cmt, .-remove_cmt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: coscmt [-h] [-l] [-o outfile] [infiles]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L38+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L39:
	.align	2
.L38:
	.word	stderr
	.word	.LC0
	.size	help, .-help
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"coscmt: unable to open file %s in write mode\012\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"coscmt: unable to open file %s in read mode\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L60+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L41
.L46:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L42
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L44
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L60+8
	mov	r2, #1
	str	r2, [r3]
	b	.L42
.L44:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #111
	bne	.L45
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L42
.L45:
	bl	help
	b	.L42
.L58:
	nop
.L42:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L41:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L48
	ldr	r3, .L60+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L49
.L48:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L60+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L60+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L60+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L49:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
.L47:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L50
.L55:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L53
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L54
.L53:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L60+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L60+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L60+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L54:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	remove_cmt
	ldr	r3, .L60
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L52
	ldr	r0, [fp, #-20]
	bl	fclose
	b	.L52
.L59:
	nop
.L52:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L55
	ldr	r3, .L60+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L56
	ldr	r0, [fp, #-16]
	bl	fclose
.L56:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	stdin
	.word	stdout
	.word	rmlit
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
