	.file	"291456.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\t\t\t\t\t\t**************************"
	.align 8
.LC1:
	.string	"\t\t\t\t\t\t*       PHONE-BOOK       *"
	.text
	.globl	title
	.type	title, @function
title:
.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
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	title, .-title
	.section	.rodata
	.align 8
.LC2:
	.string	"\t\t\t\t\t\t|************************|"
	.align 8
.LC3:
	.string	"\t\t\t\t\t\t|[1]-ADD CONTACT         |"
	.align 8
.LC4:
	.string	"\t\t\t\t\t\t|[2]-VIEW CONTACT        |"
	.align 8
.LC5:
	.string	"\t\t\t\t\t\t|[3]-SEARCH CONTACT      |"
	.align 8
.LC6:
	.string	"\t\t\t\t\t\t|[4]-DELETE CONTACT      |"
	.align 8
.LC7:
	.string	"\t\t\t\t\t\t|[5]-MODIFY CONTACT      |"
	.align 8
.LC8:
	.string	"\t\t\t\t\t\t|[6]-EXIT                |"
	.text
	.globl	heading
	.type	heading, @function
heading:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	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, .LC2[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	heading, .-heading
	.section	.rodata
.LC9:
	.string	"r+"
.LC10:
	.string	"CONTACT"
.LC11:
	.string	"error 0x004"
.LC12:
	.string	"\n%s %s\n%ld\n"
.LC13:
	.string	"clear"
.LC14:
	.string	"contact dosen't match"
	.text
	.globl	check
	.type	check, @function
check:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], 0
	lea	rsi, .LC9[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L5
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	lea	rax, -48[rbp]
	lea	rdx, 10[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	DWORD PTR -60[rbp], 1
.L5:
	lea	rax, -48[rbp]
	lea	rsi, 24[rax]
	lea	rax, -48[rbp]
	lea	rcx, 10[rax]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rsi
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC13[rip]
	call	system@PLT
	cmp	DWORD PTR -60[rbp], 1
	jne	.L7
	mov	eax, 1
	jmp	.L3
.L7:
	cmp	DWORD PTR -60[rbp], 0
	jne	.L9
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L9:
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	check, .-check
	.section	.rodata
.LC15:
	.string	"%c[%d;%df"
	.text
	.globl	gotoxy
	.type	gotoxy, @function
gotoxy:
.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 27
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	gotoxy, .-gotoxy
	.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	"291456.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011\011\011\011\011\011**************************\000"
	.align	2
.LC1:
	.ascii	"\011\011\011\011\011\011*       PHONE-BOOK       *\000"
	.text
	.align	2
	.global	title
	.syntax unified
	.arm
	.fpu softvfp
	.type	title, %function
title:
	@ 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
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2
	bl	puts
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	title, .-title
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\011\011\011\011\011\011|************************|\000"
	.align	2
.LC3:
	.ascii	"\011\011\011\011\011\011|[1]-ADD CONTACT         |\000"
	.align	2
.LC4:
	.ascii	"\011\011\011\011\011\011|[2]-VIEW CONTACT        |\000"
	.align	2
.LC5:
	.ascii	"\011\011\011\011\011\011|[3]-SEARCH CONTACT      |\000"
	.align	2
.LC6:
	.ascii	"\011\011\011\011\011\011|[4]-DELETE CONTACT      |\000"
	.align	2
.LC7:
	.ascii	"\011\011\011\011\011\011|[5]-MODIFY CONTACT      |\000"
	.align	2
.LC8:
	.ascii	"\011\011\011\011\011\011|[6]-EXIT                |\000"
	.text
	.align	2
	.global	heading
	.syntax unified
	.arm
	.fpu softvfp
	.type	heading, %function
heading:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L5
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	puts
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+24
	bl	puts
	ldr	r0, .L5
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	heading, .-heading
	.section	.rodata
	.align	2
.LC9:
	.ascii	"r+\000"
	.align	2
.LC10:
	.ascii	"CONTACT\000"
	.align	2
.LC11:
	.ascii	"error 0x004\000"
	.align	2
.LC12:
	.ascii	"\012%s %s\012%ld\012\000"
	.align	2
.LC13:
	.ascii	"clear\000"
	.align	2
.LC14:
	.ascii	"contact dosen't match\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L15+12
	bl	printf
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #32
	add	r3, r3, #10
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #1
	str	r3, [fp, #-40]
.L9:
	sub	r3, fp, #32
	add	r1, r3, #10
	sub	r2, fp, #32
	sub	r3, fp, #32
	add	r3, r3, #20
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L15+16
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L15+20
	bl	system
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L11
	mov	r3, #1
	b	.L7
.L11:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L15+24
	bl	puts
.L13:
.L7:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC15
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	check, .-check
	.section	.rodata
	.align	2
.LC16:
	.ascii	"%c[%d;%df\000"
	.text
	.align	2
	.global	gotoxy
	.syntax unified
	.arm
	.fpu softvfp
	.type	gotoxy, %function
gotoxy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mov	r1, #27
	ldr	r0, .L18
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC16
	.size	gotoxy, .-gotoxy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
