	.file	"54825221.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: %s [-lwc] [filelist]\n"
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"%s: %s: No such file or directory\n"
.LC3:
	.string	" %7d"
.LC4:
	.string	" %s\n"
.LC5:
	.string	"total"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -84[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L3
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
.L3:
	mov	DWORD PTR -52[rbp], 1
	jmp	.L4
.L14:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L5
	mov	DWORD PTR -48[rbp], 1
	jmp	.L6
.L11:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 119
	je	.L7
	cmp	eax, 119
	jg	.L8
	cmp	eax, 99
	je	.L9
	cmp	eax, 108
	jne	.L8
	mov	DWORD PTR -32[rbp], 1
	jmp	.L10
.L7:
	mov	DWORD PTR -36[rbp], 1
	jmp	.L10
.L9:
	mov	DWORD PTR -40[rbp], 1
	jmp	.L10
.L8:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	add	DWORD PTR -48[rbp], 1
.L6:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rbx, eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L11
	jmp	.L33
.L5:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L15
.L33:
	add	DWORD PTR -52[rbp], 1
.L4:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L14
	jmp	.L16
.L2:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	jmp	.L16
.L28:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	je	.L17
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L17
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L16
.L17:
	mov	DWORD PTR -72[rbp], 0
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L18
.L22:
	add	DWORD PTR -80[rbp], 1
	cmp	DWORD PTR -28[rbp], 10
	jne	.L19
	add	DWORD PTR -72[rbp], 1
.L19:
	cmp	DWORD PTR -28[rbp], 32
	je	.L20
	cmp	DWORD PTR -28[rbp], 9
	je	.L20
	cmp	DWORD PTR -28[rbp], 10
	jne	.L21
.L20:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L18
.L21:
	cmp	DWORD PTR -56[rbp], 0
	jne	.L18
	mov	DWORD PTR -56[rbp], 1
	add	DWORD PTR -76[rbp], 1
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L22
	cmp	DWORD PTR -32[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	cmp	DWORD PTR -36[rbp], 0
	je	.L24
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	cmp	DWORD PTR -40[rbp], 0
	je	.L25
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	je	.L26
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L26:
	mov	edi, 10
	call	putchar@PLT
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -80[rbp]
	add	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	add	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	add	DWORD PTR -60[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L16:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L28
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, DWORD PTR -44[rbp]
	cmp	eax, 1
	jle	.L29
	cmp	DWORD PTR -32[rbp], 0
	je	.L30
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	cmp	DWORD PTR -36[rbp], 0
	je	.L31
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	cmp	DWORD PTR -40[rbp], 0
	je	.L32
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L32:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L29:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"54825221.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [-lwc] [filelist]\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%s: %s: No such file or directory\012\000"
	.align	2
.LC3:
	.ascii	" %7d\000"
	.align	2
.LC4:
	.ascii	" %s\012\000"
	.align	2
.LC5:
	.ascii	"total\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L3
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
.L3:
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L4
.L14:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L5
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L6
.L11:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L7
	cmp	r3, #119
	bgt	.L8
	cmp	r3, #99
	beq	.L9
	cmp	r3, #108
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L10
.L7:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L10
.L9:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L10
.L8:
	ldr	r3, .L34+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L34+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bhi	.L11
	b	.L33
.L5:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	b	.L15
.L33:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L4:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L14
	b	.L16
.L2:
	ldr	r3, .L34+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L34+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	b	.L16
.L28:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L34+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L34+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L34+16
	bl	fprintf
	b	.L16
.L17:
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L18
.L22:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L19
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	beq	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	beq	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L21
.L20:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L18
.L21:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L18
	mov	r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L18:
	ldr	r0, [fp, #-12]
	bl	getc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L22
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L23
	ldr	r1, [fp, #-56]
	ldr	r0, .L34+20
	bl	printf
.L23:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L24
	ldr	r1, [fp, #-60]
	ldr	r0, .L34+20
	bl	printf
.L24:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L25
	ldr	r1, [fp, #-64]
	ldr	r0, .L34+20
	bl	printf
.L25:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	beq	.L26
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+24
	bl	printf
	b	.L27
.L26:
	mov	r0, #10
	bl	putchar
.L27:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L16:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L28
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	cmp	r3, #1
	ble	.L29
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L30
	ldr	r1, [fp, #-44]
	ldr	r0, .L34+20
	bl	printf
.L30:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L31
	ldr	r1, [fp, #-48]
	ldr	r0, .L34+20
	bl	printf
.L31:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L32
	ldr	r1, [fp, #-52]
	ldr	r0, .L34+20
	bl	printf
.L32:
	ldr	r0, .L34+28
	bl	puts
.L29:
	mov	r0, #0
	bl	exit
.L35:
	.align	2
.L34:
	.word	stdin
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
