	.file	"706047.c"
	.intel_syntax noprefix
	.text
	.globl	createPhoneNumber
	.type	createPhoneNumber, @function
createPhoneNumber:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	jmp	.L1
.L7:
	nop
.L6:
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	createPhoneNumber, .-createPhoneNumber
	.globl	deletePhoneNumber
	.type	deletePhoneNumber, @function
deletePhoneNumber:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	deletePhoneNumber, .-deletePhoneNumber
	.section	.rodata
.LC0:
	.string	"a"
.LC1:
	.string	"data.txt"
	.text
	.globl	savePhoneNumber
	.type	savePhoneNumber, @function
savePhoneNumber:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rcx, rdi
	mov	rax, rsi
	mov	rbx, rax
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jne	.L11
.L10:
	mov	eax, 0
	jmp	.L12
.L11:
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L13
	mov	eax, 0
	jmp	.L12
.L13:
	cmp	DWORD PTR -52[rbp], 0
	jle	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	savePhoneNumber, .-savePhoneNumber
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"%s"
	.text
	.globl	loadPhoneNumber
	.type	loadPhoneNumber, @function
loadPhoneNumber:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	DWORD PTR -156[rbp], 0
	jmp	.L18
.L19:
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	lea	rbx, [rdx+rax]
	lea	rdx, -80[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	createPhoneNumber
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR 8[rbx], rdx
	add	DWORD PTR -156[rbp], 1
.L18:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -156[rbp]
.L17:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	loadPhoneNumber, .-loadPhoneNumber
	.globl	searchByName
	.type	searchByName, @function
searchByName:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L24
.L23:
	add	DWORD PTR -4[rbp], 1
.L22:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L25
	mov	eax, -1
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	searchByName, .-searchByName
	.globl	searchByNumber
	.type	searchByNumber, @function
searchByNumber:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L29
.L28:
	add	DWORD PTR -4[rbp], 1
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L30
	mov	eax, -1
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	searchByNumber, .-searchByNumber
	.section	.rodata
.LC4:
	.string	"Ivan"
.LC5:
	.string	"224455"
.LC6:
	.string	"Vladimir"
.LC7:
	.string	"984534"
.LC8:
	.string	"BlaBlaBla"
.LC9:
	.string	"47234"
.LC10:
	.string	"Ramil"
	.text
	.globl	test
	.type	test, @function
test:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1648
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -1637[rbp], 1
	lea	rax, -1616[rbp]
	mov	rdi, rax
	call	loadPhoneNumber
	cmp	BYTE PTR -1637[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -1616[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
	mov	eax, 1
	jmp	.L33
.L32:
	mov	eax, 0
.L33:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -1608[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L34
	mov	eax, 1
	jmp	.L35
.L34:
	mov	eax, 0
.L35:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L36
	mov	rax, QWORD PTR -1600[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L36
	mov	eax, 1
	jmp	.L37
.L36:
	mov	eax, 0
.L37:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L38
	mov	rax, QWORD PTR -1592[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L38
	mov	eax, 1
	jmp	.L39
.L38:
	mov	eax, 0
.L39:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L40
	lea	rax, -1616[rbp]
	lea	rdx, .LC6[rip]
	mov	esi, 2
	mov	rdi, rax
	call	searchByName
	cmp	eax, 1
	jne	.L40
	mov	eax, 1
	jmp	.L41
.L40:
	mov	eax, 0
.L41:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L42
	lea	rax, -1616[rbp]
	lea	rdx, .LC8[rip]
	mov	esi, 2
	mov	rdi, rax
	call	searchByName
	cmp	eax, -1
	jne	.L42
	mov	eax, 1
	jmp	.L43
.L42:
	mov	eax, 0
.L43:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L44
	lea	rax, -1616[rbp]
	lea	rdx, .LC5[rip]
	mov	esi, 2
	mov	rdi, rax
	call	searchByNumber
	test	eax, eax
	jne	.L44
	mov	eax, 1
	jmp	.L45
.L44:
	mov	eax, 0
.L45:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	cmp	BYTE PTR -1637[rbp], 0
	je	.L46
	lea	rax, -1616[rbp]
	lea	rdx, .LC8[rip]
	mov	esi, 2
	mov	rdi, rax
	call	searchByNumber
	cmp	eax, -1
	jne	.L46
	mov	eax, 1
	jmp	.L47
.L46:
	mov	eax, 0
.L47:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	lea	rsi, .LC9[rip]
	lea	rdi, .LC10[rip]
	call	createPhoneNumber
	mov	QWORD PTR -1632[rbp], rax
	mov	QWORD PTR -1624[rbp], rdx
	cmp	BYTE PTR -1637[rbp], 0
	je	.L48
	mov	rcx, QWORD PTR -1632[rbp]
	mov	rax, QWORD PTR -1624[rbp]
	mov	edx, 2
	mov	rdi, rcx
	mov	rsi, rax
	call	savePhoneNumber
	test	al, al
	je	.L48
	mov	eax, 1
	jmp	.L49
.L48:
	mov	eax, 0
.L49:
	mov	BYTE PTR -1637[rbp], al
	and	BYTE PTR -1637[rbp], 1
	mov	DWORD PTR -1636[rbp], 0
	jmp	.L50
.L51:
	lea	rdx, -1616[rbp]
	mov	eax, DWORD PTR -1636[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	deletePhoneNumber
	add	DWORD PTR -1636[rbp], 1
.L50:
	cmp	DWORD PTR -1636[rbp], 1
	jle	.L51
	lea	rax, -1632[rbp]
	mov	rdi, rax
	call	deletePhoneNumber
	movzx	eax, BYTE PTR -1637[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	test, .-test
	.section	.rodata
.LC11:
	.string	"Test failed!"
.LC12:
	.string	"0 - Exit"
.LC13:
	.string	"1 - Create and save new phone"
.LC14:
	.string	"2 - Get all phones"
.LC15:
	.string	"3 - Find phone by name"
.LC16:
	.string	"4 - Find phone by number"
.LC17:
	.string	">> "
.LC18:
	.string	"%d"
.LC19:
	.string	"Phone count limit!"
.LC20:
	.string	"Name: "
.LC21:
	.string	"Number: "
.LC22:
	.string	"Saved"
.LC23:
	.string	"Error"
	.align 8
.LC24:
	.string	"Name: %s\nNumber: %s\n=========\n"
.LC25:
	.string	"Search by name: "
.LC26:
	.string	"========="
.LC27:
	.string	"Name: %s\n"
.LC28:
	.string	"Number: %s\n"
.LC29:
	.string	"Search by number: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1776
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	test
	xor	eax, 1
	test	al, al
	je	.L55
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L75
.L55:
	lea	rax, -1728[rbp]
	mov	rdi, rax
	call	loadPhoneNumber
	mov	DWORD PTR -1764[rbp], eax
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L74:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1768[rbp], 0
	lea	rax, -1768[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1768[rbp]
	cmp	eax, 4
	ja	.L74
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L59[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L59[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L59:
	.long	.L63-.L59
	.long	.L62-.L59
	.long	.L61-.L59
	.long	.L60-.L59
	.long	.L58-.L59
	.text
.L63:
	mov	DWORD PTR -1760[rbp], 0
	jmp	.L64
.L65:
	lea	rdx, -1728[rbp]
	mov	eax, DWORD PTR -1760[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	deletePhoneNumber
	add	DWORD PTR -1760[rbp], 1
.L64:
	mov	eax, DWORD PTR -1760[rbp]
	cmp	eax, DWORD PTR -1764[rbp]
	jl	.L65
	jmp	.L75
.L62:
	cmp	DWORD PTR -1764[rbp], 99
	jne	.L66
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L57
.L66:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -64[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	createPhoneNumber
	mov	QWORD PTR -1744[rbp], rax
	mov	QWORD PTR -1736[rbp], rdx
	mov	eax, DWORD PTR -1764[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rcx, -1728[rax]
	mov	rax, QWORD PTR -1744[rbp]
	mov	rdx, QWORD PTR -1736[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	add	DWORD PTR -1764[rbp], 1
	mov	edx, DWORD PTR -1764[rbp]
	mov	rcx, QWORD PTR -1744[rbp]
	mov	rax, QWORD PTR -1736[rbp]
	mov	rdi, rcx
	mov	rsi, rax
	call	savePhoneNumber
	test	al, al
	je	.L68
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L57
.L68:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L57
.L61:
	mov	DWORD PTR -1756[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -1756[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1720
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1756[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1728
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1756[rbp], 1
.L70:
	mov	eax, DWORD PTR -1756[rbp]
	cmp	eax, DWORD PTR -1764[rbp]
	jl	.L71
	jmp	.L57
.L60:
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -64[rbp]
	mov	ecx, DWORD PTR -1764[rbp]
	lea	rax, -1728[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	searchByName
	mov	DWORD PTR -1748[rbp], eax
	cmp	DWORD PTR -1748[rbp], -1
	je	.L77
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -1748[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1728
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1748[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1720
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L77
.L58:
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -64[rbp]
	mov	ecx, DWORD PTR -1764[rbp]
	lea	rax, -1728[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	searchByNumber
	mov	DWORD PTR -1752[rbp], eax
	cmp	DWORD PTR -1752[rbp], -1
	je	.L78
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -1752[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1728
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1752[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1720
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L78
.L77:
	nop
	jmp	.L74
.L78:
	nop
.L57:
	jmp	.L74
.L75:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"706047.c"
	.text
	.align	2
	.global	createPhoneNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	createPhoneNumber, %function
createPhoneNumber:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	free
	b	.L6
.L4:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	b	.L1
.L7:
	nop
.L6:
.L1:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	createPhoneNumber, .-createPhoneNumber
	.align	2
	.global	deletePhoneNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletePhoneNumber, %function
deletePhoneNumber:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	deletePhoneNumber, .-deletePhoneNumber
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a\000"
	.align	2
.LC1:
	.ascii	"data.txt\000"
	.text
	.align	2
	.global	savePhoneNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	savePhoneNumber, %function
savePhoneNumber:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	r3, fp, #20
	stm	r3, {r0, r1}
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
.L10:
	mov	r3, #0
	b	.L12
.L11:
	ldr	r1, .L15
	ldr	r0, .L15+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	b	.L12
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L14
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
.L14:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fputs
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fputs
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #1
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.size	savePhoneNumber, .-savePhoneNumber
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadPhoneNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadPhoneNumber, %function
loadPhoneNumber:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #140
	str	r0, [fp, #-136]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	fopen
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	b	.L19
.L18:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L20
.L21:
	sub	r3, fp, #120
	mov	r2, r3
	ldr	r1, .L23+12
	ldr	r0, [fp, #-124]
	bl	__isoc99_fscanf
	sub	r3, fp, #68
	mov	r2, r3
	ldr	r1, .L23+12
	ldr	r0, [fp, #-124]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-136]
	add	r4, r2, r3
	sub	r3, fp, #148
	sub	r2, fp, #68
	sub	r1, fp, #120
	mov	r0, r3
	bl	createPhoneNumber
	mov	r2, r4
	sub	r3, fp, #148
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L20:
	ldr	r0, [fp, #-124]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r0, [fp, #-124]
	bl	fclose
	ldr	r3, [fp, #-128]
.L19:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	loadPhoneNumber, .-loadPhoneNumber
	.align	2
	.global	searchByName
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchByName, %function
searchByName:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L29:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-8]
	b	.L28
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L29
	mvn	r3, #0
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	searchByName, .-searchByName
	.align	2
	.global	searchByNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchByNumber, %function
searchByNumber:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L34:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-8]
	b	.L33
.L32:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L34
	mvn	r3, #0
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	searchByNumber, .-searchByNumber
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Ivan\000"
	.align	2
.LC6:
	.ascii	"224455\000"
	.align	2
.LC7:
	.ascii	"Vladimir\000"
	.align	2
.LC8:
	.ascii	"984534\000"
	.align	2
.LC9:
	.ascii	"BlaBlaBla\000"
	.align	2
.LC10:
	.ascii	"47234\000"
	.align	2
.LC11:
	.ascii	"Ramil\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #824
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-821]
	sub	r3, fp, #808
	mov	r0, r3
	bl	loadPhoneNumber
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-808]
	ldr	r1, .L58+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	mov	r3, #1
	b	.L37
.L36:
	mov	r3, #0
.L37:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-804]
	ldr	r1, .L58+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L38
	mov	r3, #1
	b	.L39
.L38:
	mov	r3, #0
.L39:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-800]
	ldr	r1, .L58+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	mov	r3, #1
	b	.L41
.L40:
	mov	r3, #0
.L41:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-796]
	ldr	r1, .L58+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	mov	r3, #1
	b	.L43
.L42:
	mov	r3, #0
.L43:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #808
	ldr	r2, .L58+12
	mov	r1, #2
	mov	r0, r3
	bl	searchByName
	mov	r3, r0
	cmp	r3, #1
	bne	.L44
	mov	r3, #1
	b	.L45
.L44:
	mov	r3, #0
.L45:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	sub	r3, fp, #808
	ldr	r2, .L58+20
	mov	r1, #2
	mov	r0, r3
	bl	searchByName
	mov	r3, r0
	cmn	r3, #1
	bne	.L46
	mov	r3, #1
	b	.L47
.L46:
	mov	r3, #0
.L47:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L48
	sub	r3, fp, #808
	ldr	r2, .L58+8
	mov	r1, #2
	mov	r0, r3
	bl	searchByNumber
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	mov	r3, #1
	b	.L49
.L48:
	mov	r3, #0
.L49:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L50
	sub	r3, fp, #808
	ldr	r2, .L58+20
	mov	r1, #2
	mov	r0, r3
	bl	searchByNumber
	mov	r3, r0
	cmn	r3, #1
	bne	.L50
	mov	r3, #1
	b	.L51
.L50:
	mov	r3, #0
.L51:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	sub	r3, fp, #816
	ldr	r2, .L58+24
	ldr	r1, .L58+28
	mov	r0, r3
	bl	createPhoneNumber
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L52
	mov	r2, #2
	sub	r3, fp, #816
	ldm	r3, {r0, r1}
	bl	savePhoneNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	mov	r3, #1
	b	.L53
.L52:
	mov	r3, #0
.L53:
	strb	r3, [fp, #-821]
	ldrb	r3, [fp, #-821]
	and	r3, r3, #1
	strb	r3, [fp, #-821]
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L54
.L55:
	sub	r2, fp, #808
	ldr	r3, [fp, #-820]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	deletePhoneNumber
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L54:
	ldr	r3, [fp, #-820]
	cmp	r3, #1
	ble	.L55
	sub	r3, fp, #816
	mov	r0, r3
	bl	deletePhoneNumber
	ldrb	r3, [fp, #-821]	@ zero_extendqisi2
	ldr	r2, .L58
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC12
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	test, .-test
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Test failed!\000"
	.align	2
.LC14:
	.ascii	"0 - Exit\000"
	.align	2
.LC15:
	.ascii	"1 - Create and save new phone\000"
	.align	2
.LC16:
	.ascii	"2 - Get all phones\000"
	.align	2
.LC17:
	.ascii	"3 - Find phone by name\000"
	.align	2
.LC18:
	.ascii	"4 - Find phone by number\000"
	.align	2
.LC19:
	.ascii	">> \000"
	.align	2
.LC20:
	.ascii	"%d\000"
	.align	2
.LC21:
	.ascii	"Phone count limit!\000"
	.align	2
.LC22:
	.ascii	"Name: \000"
	.align	2
.LC23:
	.ascii	"Number: \000"
	.align	2
.LC24:
	.ascii	"Saved\000"
	.align	2
.LC25:
	.ascii	"Error\000"
	.align	2
.LC26:
	.ascii	"Name: %s\012Number: %s\012=========\012\000"
	.align	2
.LC27:
	.ascii	"Search by name: \000"
	.align	2
.LC28:
	.ascii	"=========\000"
	.align	2
.LC29:
	.ascii	"Name: %s\012\000"
	.align	2
.LC30:
	.ascii	"Number: %s\012\000"
	.align	2
.LC31:
	.ascii	"Search by number: \000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 944
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #944
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	test
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L61
	ldr	r0, .L85+4
	bl	puts
	b	.L81
.L61:
	sub	r3, fp, #912
	mov	r0, r3
	bl	loadPhoneNumber
	str	r0, [fp, #-940]
	ldr	r0, .L85+8
	bl	puts
	ldr	r0, .L85+12
	bl	puts
	ldr	r0, .L85+16
	bl	puts
	ldr	r0, .L85+20
	bl	puts
	ldr	r0, .L85+24
	bl	puts
.L80:
	ldr	r0, .L85+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-944]
	sub	r3, fp, #944
	mov	r1, r3
	ldr	r0, .L85+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-944]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L80
.L65:
	.word	.L69
	.word	.L68
	.word	.L67
	.word	.L66
	.word	.L64
.L69:
	mov	r3, #0
	str	r3, [fp, #-936]
	b	.L70
.L71:
	sub	r2, fp, #912
	ldr	r3, [fp, #-936]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	deletePhoneNumber
	ldr	r3, [fp, #-936]
	add	r3, r3, #1
	str	r3, [fp, #-936]
.L70:
	ldr	r2, [fp, #-936]
	ldr	r3, [fp, #-940]
	cmp	r2, r3
	blt	.L71
	b	.L81
.L68:
	ldr	r3, [fp, #-940]
	cmp	r3, #99
	bne	.L72
	ldr	r0, .L85+36
	bl	puts
	b	.L63
.L72:
	ldr	r0, .L85+40
	bl	printf
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L85+44
	bl	__isoc99_scanf
	ldr	r0, .L85+48
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L85+44
	bl	__isoc99_scanf
	sub	r3, fp, #920
	sub	r2, fp, #60
	sub	r1, fp, #112
	mov	r0, r3
	bl	createPhoneNumber
	ldr	r3, [fp, #-940]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #908
	sub	r2, fp, #920
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-940]
	add	r3, r3, #1
	str	r3, [fp, #-940]
	ldr	r2, [fp, #-940]
	sub	r3, fp, #920
	ldm	r3, {r0, r1}
	bl	savePhoneNumber
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r0, .L85+52
	bl	puts
	b	.L63
.L74:
	ldr	r0, .L85+56
	bl	puts
	b	.L63
.L67:
	mov	r3, #0
	str	r3, [fp, #-932]
	b	.L76
.L77:
	ldr	r3, [fp, #-932]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-908]
	ldr	r3, [fp, #-932]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-904]
	mov	r2, r3
	ldr	r0, .L85+60
	bl	printf
	ldr	r3, [fp, #-932]
	add	r3, r3, #1
	str	r3, [fp, #-932]
.L76:
	ldr	r2, [fp, #-932]
	ldr	r3, [fp, #-940]
	cmp	r2, r3
	blt	.L77
	b	.L63
.L66:
	ldr	r0, .L85+64
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L85+44
	bl	__isoc99_scanf
	sub	r2, fp, #60
	sub	r3, fp, #912
	ldr	r1, [fp, #-940]
	mov	r0, r3
	bl	searchByName
	str	r0, [fp, #-924]
	ldr	r3, [fp, #-924]
	cmn	r3, #1
	beq	.L83
	ldr	r0, .L85+68
	bl	puts
	ldr	r3, [fp, #-924]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-908]
	mov	r1, r3
	ldr	r0, .L85+72
	bl	printf
	ldr	r3, [fp, #-924]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-904]
	mov	r1, r3
	ldr	r0, .L85+76
	bl	printf
	ldr	r0, .L85+68
	bl	puts
	b	.L83
.L64:
	ldr	r0, .L85+80
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L85+44
	bl	__isoc99_scanf
	sub	r2, fp, #60
	sub	r3, fp, #912
	ldr	r1, [fp, #-940]
	mov	r0, r3
	bl	searchByNumber
	str	r0, [fp, #-928]
	ldr	r3, [fp, #-928]
	cmn	r3, #1
	beq	.L84
	ldr	r0, .L85+68
	bl	puts
	ldr	r3, [fp, #-928]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-908]
	mov	r1, r3
	ldr	r0, .L85+72
	bl	printf
	ldr	r3, [fp, #-928]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-904]
	mov	r1, r3
	ldr	r0, .L85+76
	bl	printf
	ldr	r0, .L85+68
	bl	puts
	b	.L84
.L83:
	nop
	b	.L80
.L84:
	nop
.L63:
	b	.L80
.L81:
	ldr	r2, .L85
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L82
	bl	__stack_chk_fail
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC32
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC3
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
