	.file	"685012.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"--file_name"
	.align 8
.LC1:
	.string	"Please supply a file name using --file_name [file_name]"
	.text
	.globl	getInputFileName
	.type	getInputFileName, @function
getInputFileName:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -13[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jle	.L2
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	BYTE PTR -13[rbp], 1
.L4:
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L5
.L2:
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, 1
	test	al, al
	je	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getInputFileName, .-getInputFileName
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"output%d.c"
.LC4:
	.string	"wb"
	.align 8
.LC5:
	.string	"#include <stdio.h>\n\nint main(){\n"
	.text
	.globl	parseProgram
	.type	parseProgram, @function
parseProgram:
.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, 272
	mov	QWORD PTR -264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -246[rbp], 0
	mov	BYTE PTR -245[rbp], 0
	mov	DWORD PTR -244[rbp], 0
	mov	rax, QWORD PTR -264[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -232[rbp], rax
	jmp	.L9
.L12:
	movzx	eax, BYTE PTR -224[rbp]
	cmp	al, 126
	jne	.L10
	movzx	eax, BYTE PTR -223[rbp]
	cmp	al, 123
	jne	.L10
	mov	BYTE PTR -246[rbp], 1
	mov	BYTE PTR -245[rbp], 1
	add	DWORD PTR -244[rbp], 1
	mov	edx, DWORD PTR -244[rbp]
	lea	rax, -112[rbp]
	mov	ecx, edx
	lea	rdx, .LC3[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	jmp	.L9
.L10:
	cmp	BYTE PTR -246[rbp], 0
	je	.L9
	movzx	eax, BYTE PTR -224[rbp]
	cmp	al, 125
	jne	.L11
	movzx	eax, BYTE PTR -223[rbp]
	cmp	al, 126
	jne	.L11
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rax
	mov	edi, 125
	call	fputc@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	BYTE PTR -246[rbp], 0
	jmp	.L9
.L11:
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L9:
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -224[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	BYTE PTR -246[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L13:
	mov	eax, DWORD PTR -244[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	parseProgram, .-parseProgram
	.section	.rodata
.LC6:
	.string	"\n\nSnippet %d:\n"
	.align 8
.LC7:
	.string	"gcc output%d.c -o NotesProgram.exe"
.LC8:
	.string	"NotesProgram.exe"
	.text
	.globl	run_programs
	.type	run_programs, @function
run_programs:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -116[rbp], 1
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -116[rbp]
	lea	rax, -112[rbp]
	mov	ecx, edx
	lea	rdx, .LC7[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC8[rip]
	call	system@PLT
	add	DWORD PTR -116[rbp], 1
.L17:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L18
	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
.LFE8:
	.size	run_programs, .-run_programs
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	getInputFileName
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	parseProgram
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L21
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	run_programs
.L21:
	mov	eax, 0
	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	"685012.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"--file_name\000"
	.align	2
.LC1:
	.ascii	"Please supply a file name using --file_name [file_n"
	.ascii	"ame]\000"
	.text
	.align	2
	.global	getInputFileName
	.syntax unified
	.arm
	.fpu softvfp
	.type	getInputFileName, %function
getInputFileName:
	@ 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]
	mov	r3, #0
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L2
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #1
	strb	r3, [fp, #-13]
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L5
.L2:
	ldrb	r3, [fp, #-13]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L8+4
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	getInputFileName, .-getInputFileName
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"output%d.c\000"
	.align	2
.LC4:
	.ascii	"wb\000"
	.align	2
.LC5:
	.ascii	"#include <stdio.h>\012\012int main(){\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parseProgram
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseProgram, %function
parseProgram:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-222]
	mov	r3, #0
	strb	r3, [fp, #-221]
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r1, .L18+4
	ldr	r0, [fp, #-232]
	bl	fopen
	str	r0, [fp, #-212]
	b	.L11
.L14:
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L12
	ldrb	r3, [fp, #-207]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L12
	mov	r3, #1
	strb	r3, [fp, #-222]
	mov	r3, #1
	strb	r3, [fp, #-221]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	sub	r0, fp, #108
	ldr	r3, [fp, #-216]
	ldr	r2, .L18+8
	mov	r1, #100
	bl	snprintf
	sub	r3, fp, #108
	ldr	r1, .L18+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-220]
	ldr	r3, [fp, #-220]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L18+16
	bl	fwrite
	b	.L11
.L12:
	ldrb	r3, [fp, #-222]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L13
	ldrb	r3, [fp, #-207]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L13
	ldr	r1, [fp, #-220]
	mov	r0, #125
	bl	fputc
	ldr	r0, [fp, #-220]
	bl	fclose
	mov	r3, #0
	strb	r3, [fp, #-222]
	b	.L11
.L13:
	sub	r3, fp, #208
	ldr	r1, [fp, #-220]
	mov	r0, r3
	bl	fputs
.L11:
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r0, [fp, #-212]
	bl	fclose
	ldrb	r3, [fp, #-222]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-220]
	bl	fclose
.L15:
	ldr	r3, [fp, #-216]
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	parseProgram, .-parseProgram
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012\012Snippet %d:\012\000"
	.align	2
.LC8:
	.ascii	"gcc output%d.c -o NotesProgram.exe\000"
	.align	2
.LC9:
	.ascii	"NotesProgram.exe\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_programs
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_programs, %function
run_programs:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-112]
	b	.L21
.L22:
	ldr	r1, [fp, #-112]
	ldr	r0, .L24+4
	bl	printf
	sub	r0, fp, #108
	ldr	r3, [fp, #-112]
	ldr	r2, .L24+8
	mov	r1, #100
	bl	snprintf
	sub	r3, fp, #108
	mov	r0, r3
	bl	system
	ldr	r0, .L24+12
	bl	system
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L21:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L22
	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	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	run_programs, .-run_programs
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getInputFileName
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	parseProgram
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L27
	ldr	r0, [fp, #-8]
	bl	run_programs
.L27:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
