	.file	"3932.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	tail
	.align 8
	.type	tail, @object
	.size	tail, 8
tail:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Node could not be allocated"
.LC1:
	.string	"Enter name"
.LC2:
	.string	"%s"
.LC3:
	.string	"Duplicate, try again"
.LC4:
	.string	"Enter the number"
.LC5:
	.string	"%d"
	.text
	.globl	add
	.type	add, @function
add:
.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, 16
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L1
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L1
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
.L6:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
.L5:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR tail[rip]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR tail[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 24[rax], 0
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add, .-add
	.globl	addpro
	.type	addpro, @function
addpro:
.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 -28[rbp], esi
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
.L13:
	mov	rax, QWORD PTR tail[rip]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR tail[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	nop
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	addpro, .-addpro
	.section	.rodata
.LC6:
	.string	"What is the size of table?"
.LC7:
	.string	"Value taken out"
.LC8:
	.string	"Last value taken out"
	.text
	.globl	delete
	.type	delete, @function
delete:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jg	.L16
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L18
.L20:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jg	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L15
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jle	.L18
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jg	.L24
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 24[rax], 0
.L24:
	nop
.L15:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	delete, .-delete
	.section	.rodata
.LC9:
	.string	"Name: %s\tNumber: %d\n"
	.text
	.globl	stats
	.type	stats, @function
stats:
.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, 16
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 4[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
.L26:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L27
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	stats, .-stats
	.section	.rodata
.LC10:
	.string	"w"
.LC11:
	.string	"list.txt"
.LC12:
	.string	"cannot open the file %s\n"
.LC13:
	.string	"%s %d\n"
	.text
	.globl	write_file
	.type	write_file, @function
write_file:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L30
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -80[rbp], rax
.L31:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	write_file, .-write_file
	.section	.rodata
	.align 8
.LC14:
	.string	"Welcome to Yuya's Restaurant what would you like to do?\n"
.LC15:
	.string	"Type 1 to add waitlist"
	.align 8
.LC16:
	.string	"Type 2 to eliminate an entry that fits the table"
.LC17:
	.string	"Type 3 to show all Waitlist"
.LC18:
	.string	"Type 4 to quit"
.LC19:
	.string	"----------------------------\n"
.LC20:
	.string	"r"
.LC21:
	.string	"What would you like to do?"
	.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -108[rbp], 0
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L36
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L36
.L37:
	mov	edx, DWORD PTR -116[rbp]
	lea	rax, -96[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	addpro
.L36:
	lea	rcx, -116[rbp]
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L37
	jmp	.L38
.L43:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 1
	jne	.L39
	mov	eax, 0
	call	add
	jmp	.L40
.L39:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 2
	jne	.L41
	mov	eax, 0
	call	delete
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 3
	jne	.L42
	mov	eax, 0
	call	stats
	jmp	.L40
.L42:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, 4
	jne	.L40
	mov	eax, 0
	call	write_file
	mov	DWORD PTR -108[rbp], 1
.L40:
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L38:
	cmp	DWORD PTR -108[rbp], 0
	je	.L43
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	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	"3932.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.global	tail
	.align	2
	.type	tail, %object
	.size	tail, 4
tail:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Node could not be allocated\000"
	.align	2
.LC1:
	.ascii	"Enter name\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Duplicate, try again\000"
	.align	2
.LC4:
	.ascii	"Enter the number\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L10
	bl	puts
	b	.L1
.L2:
	ldr	r0, .L10+4
	bl	puts
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	ldr	r3, .L10+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r2, .L10+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L5
.L4:
	ldr	r3, .L10+12
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L6
.L8:
	ldr	r3, [fp, #-12]
	add	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L10+16
	bl	puts
	ldr	r0, [fp, #-8]
	bl	free
	b	.L1
.L7:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
.L5:
	ldr	r0, .L10+20
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L10+24
	bl	__isoc99_scanf
	ldr	r3, .L10+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L10+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
.L9:
	ldr	r2, .L10+28
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L10+28
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #24]
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	head
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	tail
	.size	add, .-add
	.align	2
	.global	addpro
	.syntax unified
	.arm
	.fpu softvfp
	.type	addpro, %function
addpro:
	@ 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	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L17
	bl	puts
	b	.L12
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r2, .L17+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L15:
	ldr	r3, .L17+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L17+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
.L16:
	ldr	r2, .L17+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
	nop
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	head
	.word	tail
	.size	addpro, .-addpro
	.section	.rodata
	.align	2
.LC6:
	.ascii	"What is the size of table?\000"
	.align	2
.LC7:
	.ascii	"Value taken out\000"
	.align	2
.LC8:
	.ascii	"Last value taken out\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete, %function
delete:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L29+4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r0, .L29+8
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, .L29+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L20
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #24]
	ldr	r2, .L29+4
	str	r3, [r2]
	ldr	r0, [fp, #-20]
	bl	free
	b	.L19
.L20:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-20]
	b	.L22
.L24:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #24]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, .L29+16
	bl	puts
	b	.L19
.L23:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L22
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-20]
.L22:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L28
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r2, .L29+24
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, .L29+24
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #24]
.L28:
	nop
.L19:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC9
	.word	head
	.word	.LC6
	.word	.LC5
	.word	.LC7
	.word	.LC8
	.word	tail
	.size	delete, .-delete
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Name: %s\011Number: %d\012\000"
	.text
	.align	2
	.global	stats
	.syntax unified
	.arm
	.fpu softvfp
	.type	stats, %function
stats:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L32
.L33:
	ldr	r3, [fp, #-8]
	add	r1, r3, #4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L35+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
.L32:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L33
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	head
	.word	.LC10
	.size	stats, .-stats
	.section	.rodata
	.align	2
.LC11:
	.ascii	"w\000"
	.align	2
.LC12:
	.ascii	"list.txt\000"
	.align	2
.LC13:
	.ascii	"cannot open the file %s\012\000"
	.align	2
.LC14:
	.ascii	"%s %d\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	write_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_file, %function
write_file:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L42+4
	ldr	r0, .L42+8
	bl	fopen
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L38
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L42+12
	bl	printf
.L38:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L39
.L40:
	ldr	r3, [fp, #-68]
	add	r2, r3, #4
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r1, .L42+20
	ldr	r0, [fp, #-64]
	bl	fprintf
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-68]
.L39:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L40
	ldr	r0, [fp, #-64]
	bl	fclose
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC15
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	head
	.word	.LC14
	.size	write_file, .-write_file
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Welcome to Yuya's Restaurant what would you like to"
	.ascii	" do?\012\000"
	.align	2
.LC17:
	.ascii	"Type 1 to add waitlist\000"
	.align	2
.LC18:
	.ascii	"Type 2 to eliminate an entry that fits the table\000"
	.align	2
.LC19:
	.ascii	"Type 3 to show all Waitlist\000"
	.align	2
.LC20:
	.ascii	"Type 4 to quit\000"
	.align	2
.LC21:
	.ascii	"----------------------------\012\000"
	.align	2
.LC22:
	.ascii	"r\000"
	.align	2
.LC23:
	.ascii	"What would you like to do?\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r0, .L56+4
	bl	puts
	ldr	r0, .L56+8
	bl	puts
	ldr	r0, .L56+12
	bl	puts
	ldr	r0, .L56+16
	bl	puts
	ldr	r0, .L56+20
	bl	puts
	ldr	r0, .L56+24
	bl	puts
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L56+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L46
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L56+32
	bl	printf
	b	.L46
.L47:
	ldr	r2, [fp, #-96]
	sub	r3, fp, #80
	mov	r1, r2
	mov	r0, r3
	bl	addpro
.L46:
	sub	r3, fp, #96
	sub	r2, fp, #80
	ldr	r1, .L56+36
	ldr	r0, [fp, #-84]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L47
	b	.L48
.L53:
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L56+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	bne	.L49
	bl	add
	b	.L50
.L49:
	ldr	r3, [fp, #-92]
	cmp	r3, #2
	bne	.L51
	bl	delete
	b	.L50
.L51:
	ldr	r3, [fp, #-92]
	cmp	r3, #3
	bne	.L52
	bl	stats
	b	.L50
.L52:
	ldr	r3, [fp, #-92]
	cmp	r3, #4
	bne	.L50
	bl	write_file
	mov	r3, #1
	str	r3, [fp, #-88]
.L50:
	ldr	r0, .L56+44
	bl	puts
.L48:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L53
	mov	r3, #0
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC24
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC13
	.word	.LC14
	.word	.LC5
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
