	.file	"167051.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	":"
	.text
	.globl	touppper
	.type	touppper, @function
touppper:
.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	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	touppper, .-touppper
	.section	.rodata
	.align 8
.LC1:
	.string	"What is the name of your project?"
.LC2:
	.string	"\n"
	.align 8
.LC3:
	.string	"Which of these catagories does your program fall under?:"
	.align 8
.LC4:
	.string	"1: A user command executed from the shell"
	.align 8
.LC5:
	.string	"2: A system call performed by the kernel"
.LC6:
	.string	"3: A library"
.LC7:
	.string	"4: A device driver"
.LC8:
	.string	"5: An options file"
.LC9:
	.string	"6: A game"
.LC10:
	.string	"7: An overview of a topic"
	.align 8
.LC11:
	.string	"8: A root command that only admins can perform"
	.align 8
.LC12:
	.string	"Can you give a VERY SHORT description of your project?"
	.align 8
.LC13:
	.string	"\nCan you provide an example of using this program? (Put unnecessary options in []'s)"
	.align 8
.LC14:
	.string	"Now can you write a more detailed description of your program? (Dont use newlines)"
.LC15:
	.string	"w"
.LC16:
	.string	".TH %s %c\n"
.LC17:
	.string	".SH NAME\n"
.LC18:
	.string	"%s \\- %s\n"
.LC19:
	.string	".SH SYNOPSIS\n"
.LC20:
	.string	"%s\n"
.LC21:
	.string	".SH DESCRIPTION\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1392
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1360[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1360[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	lea	rdx, -1360[rbp]
	lea	rax, -1296[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -1296[rbp]
	mov	rdi, rax
	call	touppper
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -1377[rbp], al
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	__fpurge@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1232[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1232[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1120[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1120[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1008[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	edi, 52
	call	malloc@PLT
	mov	QWORD PTR -1376[rbp], rax
	lea	rdx, -1360[rbp]
	mov	rax, QWORD PTR -1376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -1376[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -1376[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 46
	lea	rcx, -1377[rbp]
	mov	rax, QWORD PTR -1376[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	rax, QWORD PTR -1376[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1368[rbp], rax
	movzx	eax, BYTE PTR -1377[rbp]
	movsx	ecx, al
	lea	rdx, -1296[rbp]
	mov	rax, QWORD PTR -1368[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1368[rbp]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	lea	rcx, -1232[rbp]
	lea	rdx, -1360[rbp]
	mov	rax, QWORD PTR -1368[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1368[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	lea	rdx, -1120[rbp]
	mov	rax, QWORD PTR -1368[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1368[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	lea	rdx, -1008[rbp]
	mov	rax, QWORD PTR -1368[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1368[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"167051.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	":\000"
	.text
	.align	2
	.global	touppper
	.syntax unified
	.arm
	.fpu softvfp
	.type	touppper, %function
touppper:
	@ 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]
	ldr	r1, .L4
	ldr	r0, [fp, #-16]
	bl	strtok
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	touppper, .-touppper
	.section	.rodata
	.align	2
.LC1:
	.ascii	"What is the name of your project?\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"Which of these catagories does your program fall un"
	.ascii	"der?:\000"
	.align	2
.LC4:
	.ascii	"1: A user command executed from the shell\000"
	.align	2
.LC5:
	.ascii	"2: A system call performed by the kernel\000"
	.align	2
.LC6:
	.ascii	"3: A library\000"
	.align	2
.LC7:
	.ascii	"4: A device driver\000"
	.align	2
.LC8:
	.ascii	"5: An options file\000"
	.align	2
.LC9:
	.ascii	"6: A game\000"
	.align	2
.LC10:
	.ascii	"7: An overview of a topic\000"
	.align	2
.LC11:
	.ascii	"8: A root command that only admins can perform\000"
	.align	2
.LC12:
	.ascii	"Can you give a VERY SHORT description of your proje"
	.ascii	"ct?\000"
	.align	2
.LC13:
	.ascii	"\012Can you provide an example of using this progra"
	.ascii	"m? (Put unnecessary options in []'s)\000"
	.align	2
.LC14:
	.ascii	"Now can you write a more detailed description of yo"
	.ascii	"ur program? (Dont use newlines)\000"
	.align	2
.LC15:
	.ascii	".\000"
	.align	2
.LC16:
	.ascii	"w\000"
	.align	2
.LC17:
	.ascii	".TH %s %c\012\000"
	.align	2
.LC18:
	.ascii	".SH NAME\012\000"
	.align	2
.LC19:
	.ascii	"%s \\- %s\012\000"
	.align	2
.LC20:
	.ascii	".SH SYNOPSIS\012\000"
	.align	2
.LC21:
	.ascii	"%s\012\000"
	.align	2
.LC22:
	.ascii	".SH DESCRIPTION\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1312
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	ldr	r3, .L9+8
	ldr	r2, [r3]
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L9+12
	mov	r0, r3
	bl	strtok
	sub	r2, fp, #1296
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	touppper
	ldr	r0, .L9+16
	bl	puts
	ldr	r0, .L9+20
	bl	puts
	ldr	r0, .L9+24
	bl	puts
	ldr	r0, .L9+28
	bl	puts
	ldr	r0, .L9+32
	bl	puts
	ldr	r0, .L9+36
	bl	puts
	ldr	r0, .L9+40
	bl	puts
	ldr	r0, .L9+44
	bl	puts
	ldr	r0, .L9+48
	bl	puts
	ldr	r3, .L9+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-1321]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__fpurge
	ldr	r0, .L9+52
	bl	puts
	ldr	r3, .L9+8
	ldr	r2, [r3]
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L9+12
	mov	r0, r3
	bl	strtok
	ldr	r0, .L9+56
	bl	puts
	ldr	r3, .L9+8
	ldr	r2, [r3]
	sub	r3, fp, #1104
	sub	r3, r3, #4
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1104
	sub	r3, r3, #4
	ldr	r1, .L9+12
	mov	r0, r3
	bl	strtok
	ldr	r0, .L9+60
	bl	puts
	ldr	r3, .L9+8
	ldr	r2, [r3]
	sub	r3, fp, #1008
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1008
	ldr	r1, .L9+12
	mov	r0, r3
	bl	strtok
	mov	r0, #52
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1320]
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-1320]
	bl	strcpy
	ldr	r0, [fp, #-1320]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1320]
	add	r3, r3, r2
	ldr	r2, .L9+64
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #1312
	sub	r3, r3, #4
	sub	r3, r3, #5
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1320]
	bl	strncat
	ldr	r1, .L9+68
	ldr	r0, [fp, #-1320]
	bl	fopen
	str	r0, [fp, #-1316]
	ldrb	r3, [fp, #-1321]	@ zero_extendqisi2
	sub	r2, fp, #1248
	sub	r2, r2, #4
	sub	r2, r2, #8
	ldr	r1, .L9+72
	ldr	r0, [fp, #-1316]
	bl	fprintf
	ldr	r3, [fp, #-1316]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L9+76
	bl	fwrite
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #1296
	sub	r2, r2, #4
	sub	r2, r2, #12
	ldr	r1, .L9+80
	ldr	r0, [fp, #-1316]
	bl	fprintf
	ldr	r3, [fp, #-1316]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L9+84
	bl	fwrite
	sub	r3, fp, #1104
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L9+88
	ldr	r0, [fp, #-1316]
	bl	fprintf
	ldr	r3, [fp, #-1316]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L9+92
	bl	fwrite
	sub	r3, fp, #1008
	mov	r2, r3
	ldr	r1, .L9+88
	ldr	r0, [fp, #-1316]
	bl	fprintf
	ldr	r0, [fp, #-1316]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC23
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
