	.file	"712017.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"function new_cmd"
	.text
	.globl	new_cmd
	.type	new_cmd, @function
new_cmd:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	new_cmd, .-new_cmd
	.section	.rodata
.LC1:
	.string	"function open_cmd"
	.text
	.globl	open_cmd
	.type	open_cmd, @function
open_cmd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	open_cmd, .-open_cmd
	.section	.rodata
.LC2:
	.string	"function close_cmd"
	.text
	.globl	close_cmd
	.type	close_cmd, @function
close_cmd:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	close_cmd, .-close_cmd
	.section	.rodata
.LC3:
	.string	"function close_all_cmd"
	.text
	.globl	close_all_cmd
	.type	close_all_cmd, @function
close_all_cmd:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	close_all_cmd, .-close_all_cmd
	.section	.rodata
.LC4:
	.string	"function save_as_cmd"
	.text
	.globl	save_as_cmd
	.type	save_as_cmd, @function
save_as_cmd:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	save_as_cmd, .-save_as_cmd
	.section	.rodata
.LC5:
	.string	"function save_all_cmd"
	.text
	.globl	save_all_cmd
	.type	save_all_cmd, @function
save_all_cmd:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	save_all_cmd, .-save_all_cmd
	.section	.rodata
.LC6:
	.string	"function print_cmd"
	.text
	.globl	print_cmd
	.type	print_cmd, @function
print_cmd:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_cmd, .-print_cmd
	.section	.rodata
.LC7:
	.string	"function exit_cmd"
	.text
	.globl	exit_cmd
	.type	exit_cmd, @function
exit_cmd:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	exit_cmd, .-exit_cmd
	.globl	file_cmd
	.section	.rodata
.LC8:
	.string	"new"
.LC9:
	.string	"open"
.LC10:
	.string	"close"
.LC11:
	.string	"close all"
.LC12:
	.string	"save as"
.LC13:
	.string	"save all"
.LC14:
	.string	"print"
.LC15:
	.string	"exit"
	.section	.data.rel.local,"aw"
	.align 32
	.type	file_cmd, @object
	.size	file_cmd, 128
file_cmd:
	.quad	.LC8
	.quad	new_cmd
	.quad	.LC9
	.quad	open_cmd
	.quad	.LC10
	.quad	close_cmd
	.quad	.LC11
	.quad	close_all_cmd
	.quad	.LC12
	.quad	save_as_cmd
	.quad	.LC13
	.quad	save_all_cmd
	.quad	.LC14
	.quad	print_cmd
	.quad	.LC15
	.quad	exit_cmd
	.text
	.globl	run_command
	.type	run_command, @function
run_command:
.LFB14:
	.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 -4[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, file_cmd[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, file_cmd[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	call	rax
.L11:
	add	DWORD PTR -4[rbp], 1
.L10:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	run_command, .-run_command
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	rdi, rax
	call	run_command
	add	DWORD PTR -84[rbp], 1
.L14:
	cmp	DWORD PTR -84[rbp], 7
	jle	.L15
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.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	"712017.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"new\000"
	.align	2
.LC1:
	.ascii	"open\000"
	.align	2
.LC2:
	.ascii	"close\000"
	.align	2
.LC3:
	.ascii	"close all\000"
	.align	2
.LC4:
	.ascii	"save as\000"
	.align	2
.LC5:
	.ascii	"save all\000"
	.align	2
.LC6:
	.ascii	"print\000"
	.align	2
.LC7:
	.ascii	"exit\000"
	.text
	.section	.rodata
	.align	2
.LC9:
	.ascii	"function new_cmd\000"
	.text
	.align	2
	.global	new_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_cmd, %function
new_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC9
	.size	new_cmd, .-new_cmd
	.section	.rodata
	.align	2
.LC10:
	.ascii	"function open_cmd\000"
	.text
	.align	2
	.global	open_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_cmd, %function
open_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC10
	.size	open_cmd, .-open_cmd
	.section	.rodata
	.align	2
.LC11:
	.ascii	"function close_cmd\000"
	.text
	.align	2
	.global	close_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_cmd, %function
close_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L8
	bl	puts
	nop
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC11
	.size	close_cmd, .-close_cmd
	.section	.rodata
	.align	2
.LC12:
	.ascii	"function close_all_cmd\000"
	.text
	.align	2
	.global	close_all_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_all_cmd, %function
close_all_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	puts
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC12
	.size	close_all_cmd, .-close_all_cmd
	.section	.rodata
	.align	2
.LC13:
	.ascii	"function save_as_cmd\000"
	.text
	.align	2
	.global	save_as_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_as_cmd, %function
save_as_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L14
	bl	puts
	nop
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC13
	.size	save_as_cmd, .-save_as_cmd
	.section	.rodata
	.align	2
.LC14:
	.ascii	"function save_all_cmd\000"
	.text
	.align	2
	.global	save_all_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_all_cmd, %function
save_all_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L17
	bl	puts
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC14
	.size	save_all_cmd, .-save_all_cmd
	.section	.rodata
	.align	2
.LC15:
	.ascii	"function print_cmd\000"
	.text
	.align	2
	.global	print_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_cmd, %function
print_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L20
	bl	puts
	nop
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC15
	.size	print_cmd, .-print_cmd
	.section	.rodata
	.align	2
.LC16:
	.ascii	"function exit_cmd\000"
	.text
	.align	2
	.global	exit_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_cmd, %function
exit_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L23
	bl	puts
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC16
	.size	exit_cmd, .-exit_cmd
	.global	file_cmd
	.data
	.align	2
	.type	file_cmd, %object
	.size	file_cmd, 64
file_cmd:
	.word	.LC0
	.word	new_cmd
	.word	.LC1
	.word	open_cmd
	.word	.LC2
	.word	close_cmd
	.word	.LC3
	.word	close_all_cmd
	.word	.LC4
	.word	save_as_cmd
	.word	.LC5
	.word	save_all_cmd
	.word	.LC6
	.word	print_cmd
	.word	.LC7
	.word	exit_cmd
	.text
	.align	2
	.global	run_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_command, %function
run_command:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L28:
	ldr	r2, .L29
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r2, .L29
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	blx	r3
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L28
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	file_cmd
	.size	run_command, .-run_command
	.section	.rodata
	.align	2
.LC17:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L36+4
	sub	ip, fp, #40
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L32
.L33:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	mov	r0, r3
	bl	run_command
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L32:
	ldr	r3, [fp, #-44]
	cmp	r3, #7
	ble	.L33
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC18
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
