	.file	"907820.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	listedFilesStartingIndex, @object
	.size	listedFilesStartingIndex, 4
listedFilesStartingIndex:
	.long	1
	.local	delimiter
	.comm	delimiter,8192,32
	.local	printWholeFile
	.comm	printWholeFile,4,4
	.text
	.type	skipLines, @function
skipLines:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 10
	jne	.L2
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L5
	cmp	BYTE PTR -5[rbp], -1
	jne	.L4
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	skipLines, .-skipLines
	.type	lineCounter, @function
lineCounter:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -9[rbp], al
	jmp	.L7
.L9:
	cmp	BYTE PTR -9[rbp], 10
	jne	.L8
	add	DWORD PTR -8[rbp], 1
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -9[rbp], al
.L7:
	cmp	BYTE PTR -9[rbp], -1
	jne	.L9
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	lineCounter, .-lineCounter
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"Failed: "
.LC2:
	.string	"Write error for file %s \n"
.LC3:
	.string	"fclose error: "
	.text
	.type	leastLinesInFile, @function
leastLinesInFile:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], -1
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L12
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	lineCounter
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L14
	cmp	DWORD PTR -20[rbp], -1
	jne	.L15
.L14:
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -20[rbp], eax
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L16
	mov	eax, DWORD PTR -16[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
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L17
	lea	rdi, .LC3[rip]
	call	perror@PLT
.L17:
	add	DWORD PTR -16[rbp], 1
.L12:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L18
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	leastLinesInFile, .-leastLinesInFile
	.type	readLine, @function
readLine:
.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
	mov	DWORD PTR -32[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	lineCounter
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -9[rbp], al
	jmp	.L21
.L29:
	cmp	BYTE PTR -9[rbp], 10
	jne	.L22
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jne	.L23
	cmp	DWORD PTR -28[rbp], 1
	je	.L30
.L23:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	lea	rdi, delimiter[rip]
	call	fputs@PLT
.L25:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L31
	jmp	.L20
.L22:
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -9[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	jmp	.L28
.L31:
	nop
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -9[rbp], al
.L21:
	cmp	BYTE PTR -9[rbp], -1
	jne	.L29
	jmp	.L24
.L30:
	nop
.L24:
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	putc@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readLine, .-readLine
	.type	cat, @function
cat:
.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, 16
.L33:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -1[rbp], al
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -1[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	jmp	.L33
	.cfi_endproc
.LFE10:
	.size	cat, .-cat
	.section	.rodata
.LC4:
	.string	"-d"
	.align 8
.LC5:
	.string	"%s: error: command does not have input files\n"
.LC6:
	.string	"-s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	cmp	DWORD PTR -36[rbp], 1
	jne	.L35
	mov	eax, 0
	call	cat
	mov	eax, 0
	jmp	.L36
.L35:
	mov	WORD PTR delimiter[rip], 9
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L37
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	rsi, rax
	lea	rdi, delimiter[rip]
	call	strncpy@PLT
	mov	DWORD PTR listedFilesStartingIndex[rip], 2
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L38
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	DWORD PTR listedFilesStartingIndex[rip], 3
	mov	DWORD PTR printWholeFile[rip], 1
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L39
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L39
	mov	DWORD PTR listedFilesStartingIndex[rip], 2
	mov	DWORD PTR printWholeFile[rip], 1
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L40
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L40:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	rsi, rax
	lea	rdi, delimiter[rip]
	call	strncpy@PLT
	mov	DWORD PTR listedFilesStartingIndex[rip], 3
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L39
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	eax, DWORD PTR printWholeFile[rip]
	test	eax, eax
	jne	.L41
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	leastLinesInFile
	jmp	.L42
.L41:
	mov	eax, 1
.L42:
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L43
.L52:
	mov	eax, DWORD PTR listedFilesStartingIndex[rip]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L44
.L50:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L45
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	skipLines
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jne	.L46
	mov	eax, DWORD PTR printWholeFile[rip]
	test	eax, eax
	jne	.L46
	mov	ecx, DWORD PTR printWholeFile[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	readLine
	jmp	.L47
.L46:
	mov	ecx, DWORD PTR printWholeFile[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	readLine
.L47:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L48
	mov	eax, DWORD PTR -16[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
.L48:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L49
	lea	rdi, .LC3[rip]
	call	perror@PLT
.L49:
	add	DWORD PTR -16[rbp], 1
.L44:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L50
	mov	eax, DWORD PTR printWholeFile[rip]
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	putc@PLT
.L51:
	add	DWORD PTR -20[rbp], 1
.L43:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L52
	mov	eax, 0
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"907820.c"
	.text
	.data
	.align	2
	.type	listedFilesStartingIndex, %object
	.size	listedFilesStartingIndex, 4
listedFilesStartingIndex:
	.word	1
	.local	delimiter
	.comm	delimiter,8192,4
	.local	printWholeFile
	.comm	printWholeFile,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skipLines, %function
skipLines:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r0, [fp, #-16]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L2
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skipLines, .-skipLines
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lineCounter, %function
lineCounter:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-13]
.L6:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L5
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r0, [fp, #-24]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L6
	.size	lineCounter, .-lineCounter
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Failed: \000"
	.align	2
.LC2:
	.ascii	"Write error for file %s \012\000"
	.align	2
.LC3:
	.ascii	"fclose error: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	leastLinesInFile, %function
leastLinesInFile:
	@ 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]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L8
.L14:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L16+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L16+8
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	ldr	r0, [fp, #-12]
	bl	lineCounter
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L11
.L10:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
.L11:
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L16+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L16+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L16+20
	bl	perror
.L13:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	listedFilesStartingIndex
	.word	.LC0
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.size	leastLinesInFile, .-leastLinesInFile
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readLine, %function
readLine:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	lineCounter
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-13]
.L26:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L19
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L28
.L20:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+4
	bl	fputs
.L22:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L29
	b	.L18
.L19:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L30
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	b	.L25
.L29:
	nop
.L25:
	ldr	r0, [fp, #-24]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L26
.L28:
	nop
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	putc
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	stdout
	.word	delimiter
	.size	readLine, .-readLine
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cat, %function
cat:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
.L33:
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L34+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	b	.L33
.L35:
	.align	2
.L34:
	.word	stdin
	.word	stdout
	.size	cat, .-cat
	.section	.rodata
	.align	2
.LC4:
	.ascii	"-d\000"
	.align	2
.LC5:
	.ascii	"%s: error: command does not have input files\012\000"
	.align	2
.LC6:
	.ascii	"-s\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L37
	bl	cat
	mov	r3, #0
	b	.L38
.L37:
	ldr	r3, .L55
	mov	r2, #9
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L55+4
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r4, r3, #2
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L55
	bl	strncpy
	ldr	r3, .L55+8
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L40
	ldr	r3, .L55+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L55+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L40:
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L55+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L55+8
	mov	r2, #3
	str	r2, [r3]
	ldr	r3, .L55+24
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L41
	ldr	r3, .L55+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L55+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L39:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L55+20
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L55+8
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L55+24
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L42
	ldr	r3, .L55+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L55+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L42:
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L55+4
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	add	r4, r3, #2
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L55
	bl	strncpy
	ldr	r3, .L55+8
	mov	r2, #3
	str	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L41
	ldr	r3, .L55+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L55+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L41:
	ldr	r3, .L55+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L43
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	leastLinesInFile
	mov	r3, r0
	b	.L44
.L43:
	mov	r3, #1
.L44:
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L45
.L54:
	ldr	r3, .L55+8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L46
.L52:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L55+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L55+32
	bl	perror
	mov	r0, #1
	bl	exit
.L47:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	skipLines
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L48
	ldr	r3, .L55+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L55+24
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	readLine
	b	.L49
.L48:
	ldr	r3, .L55+24
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	readLine
.L49:
	ldr	r0, [fp, #-16]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L55+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L55+36
	bl	fprintf
	mov	r0, #1
	bl	exit
.L50:
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r0, .L55+40
	bl	perror
.L51:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L46:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L52
	ldr	r3, .L55+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L55+44
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	putc
.L53:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L45:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L54
	mov	r3, #0
.L38:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L56:
	.align	2
.L55:
	.word	delimiter
	.word	.LC4
	.word	listedFilesStartingIndex
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	printWholeFile
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
