	.file	"875696.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"File Not Present Error"
.LC1:
	.string	"read"
.LC2:
	.string	"close"
	.text
	.globl	printFile
	.type	printFile, @function
printFile:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jns	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L1
.L6:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L1
.L5:
	lea	rax, -25[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
	mov	QWORD PTR -16[rbp], rax
.L4:
	lea	rcx, -25[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L10
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L1
.L10:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printFile, .-printFile
	.globl	printFileDollar
	.type	printFileDollar, @function
printFileDollar:
.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 -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jns	.L14
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L11
.L17:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L15
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L11
.L15:
	movzx	eax, BYTE PTR -26[rbp]
	cmp	al, 10
	jne	.L16
	mov	BYTE PTR -25[rbp], 36
	lea	rax, -25[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
	mov	QWORD PTR -16[rbp], rax
.L16:
	lea	rax, -26[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
.L14:
	lea	rcx, -26[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L17
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L21
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L11
.L21:
	nop
.L11:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printFileDollar, .-printFileDollar
	.globl	printFileTab
	.type	printFileTab, @function
printFileTab:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jns	.L25
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L22
.L28:
	cmp	DWORD PTR -28[rbp], 0
	jns	.L26
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L22
.L26:
	movzx	eax, BYTE PTR -34[rbp]
	cmp	al, 9
	jne	.L27
	mov	BYTE PTR -33[rbp], 94
	lea	rax, -33[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	BYTE PTR -33[rbp], 73
	lea	rax, -33[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L25
.L27:
	lea	rax, -34[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	write@PLT
	mov	QWORD PTR -24[rbp], rax
.L25:
	lea	rcx, -34[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L28
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L22
	lea	rdi, .LC2[rip]
	call	perror@PLT
	nop
.L22:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printFileTab, .-printFileTab
	.section	.rodata
.LC3:
	.string	" "
.LC4:
	.string	"Invalid Input -- %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	QWORD PTR -1056[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1028[rbp], 0
	mov	WORD PTR -1020[rbp], 0
	mov	QWORD PTR -1018[rbp], 0
	mov	WORD PTR -1010[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
	mov	QWORD PTR -1000[rbp], 0
	lea	rdx, -992[rbp]
	mov	eax, 0
	mov	ecx, 123
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1040[rbp], rax
	mov	rdx, QWORD PTR -1040[rbp]
	lea	rax, -1028[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1040[rbp], rax
	mov	rax, QWORD PTR -1040[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L34
	mov	rdx, QWORD PTR -1040[rbp]
	lea	rax, -1018[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1040[rbp], rax
	jmp	.L34
.L40:
	mov	rdx, QWORD PTR -1040[rbp]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	eax, al
	test	eax, eax
	jne	.L35
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	printFile
	jmp	.L36
.L35:
	movzx	eax, BYTE PTR -1017[rbp]
	cmp	al, 69
	jne	.L37
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	printFileDollar
	jmp	.L36
.L37:
	movzx	eax, BYTE PTR -1017[rbp]
	cmp	al, 84
	jne	.L38
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	printFileTab
	jmp	.L36
.L38:
	lea	rax, -1018[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L41
.L36:
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1040[rbp], rax
.L34:
	cmp	QWORD PTR -1040[rbp], 0
	jne	.L40
	mov	eax, 0
.L41:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"875696.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"File Not Present Error\000"
	.align	2
.LC1:
	.ascii	"read\000"
	.align	2
.LC2:
	.ascii	"close\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFile, %function
printFile:
	@ 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, #-32]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L11+4
	bl	perror
	b	.L1
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L11+8
	bl	perror
	b	.L1
.L5:
	sub	r3, fp, #21
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
	mov	r3, r0
	str	r3, [fp, #-12]
.L4:
	sub	r3, fp, #21
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r0, [fp, #-20]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L11+12
	bl	perror
	b	.L1
.L10:
	nop
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	printFile, .-printFile
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printFileDollar
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFileDollar, %function
printFileDollar:
	@ 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, #-32]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L16
	ldr	r0, .L24+4
	bl	perror
	b	.L13
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L24+8
	bl	perror
	b	.L13
.L17:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L18
	mov	r3, #36
	strb	r3, [fp, #-21]
	sub	r3, fp, #21
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
	mov	r3, r0
	str	r3, [fp, #-12]
.L18:
	sub	r3, fp, #22
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
.L16:
	sub	r3, fp, #22
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L19
	ldr	r0, [fp, #-20]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L23
	ldr	r0, .L24+12
	bl	perror
	b	.L13
.L23:
	nop
.L13:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	printFileDollar, .-printFileDollar
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printFileTab
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFileTab, %function
printFileTab:
	@ 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, #-32]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	open
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L29
	ldr	r0, .L36+4
	bl	perror
	b	.L26
.L32:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L30
	ldr	r0, .L36+8
	bl	perror
	b	.L26
.L30:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L31
	mov	r3, #94
	strb	r3, [fp, #-25]
	sub	r3, fp, #25
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #73
	strb	r3, [fp, #-25]
	sub	r3, fp, #25
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
	mov	r3, r0
	str	r3, [fp, #-12]
	b	.L29
.L31:
	sub	r3, fp, #26
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	write
	mov	r3, r0
	str	r3, [fp, #-16]
.L29:
	sub	r3, fp, #26
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-24]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	ldr	r0, .L36+12
	bl	perror
	nop
.L26:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	printFileTab, .-printFileTab
	.section	.rodata
	.align	2
.LC6:
	.ascii	" \000"
	.align	2
.LC7:
	.ascii	"Invalid Input -- %s\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	str	r1, [fp, #-1044]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-1020]
	sub	r3, fp, #1016
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-1008]
	sub	r3, fp, #1004
	mov	r2, #996
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1044]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L49+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1036]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1036]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L49+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L40
	sub	r3, fp, #1020
	ldr	r1, [fp, #-1036]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L49+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1036]
	b	.L40
.L46:
	sub	r3, fp, #1008
	ldr	r1, [fp, #-1036]
	mov	r0, r3
	bl	strcpy
	ldrb	r3, [fp, #-1020]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L41
	sub	r3, fp, #1008
	mov	r0, r3
	bl	printFile
	b	.L42
.L41:
	ldrb	r3, [fp, #-1019]	@ zero_extendqisi2
	cmp	r3, #69
	bne	.L43
	sub	r3, fp, #1008
	mov	r0, r3
	bl	printFileDollar
	b	.L42
.L43:
	ldrb	r3, [fp, #-1019]	@ zero_extendqisi2
	cmp	r3, #84
	bne	.L44
	sub	r3, fp, #1008
	mov	r0, r3
	bl	printFileTab
	b	.L42
.L44:
	sub	r3, fp, #1020
	mov	r1, r3
	ldr	r0, .L49+8
	bl	printf
	mov	r3, #1
	b	.L47
.L42:
	ldr	r1, .L49+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1036]
.L40:
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L46
	mov	r3, #0
.L47:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
