	.file	"612940.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\273"
.LC1:
	.string	"\271"
.LC2:
	.string	"\266"
.LC3:
	.string	"\274"
.LC4:
	.string	"\n"
.LC5:
	.string	"pause"
.LC6:
	.string	"cls"
.LC7:
	.string	"Error: invalid_value..."
	.align 8
.LC8:
	.string	"Error opening the file \"cars.txt\"..."
.LC9:
	.string	"No results found..."
	.text
	.globl	UI
	.type	UI, @function
UI:
.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	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 8
	ja	.L1
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L1-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L11:
	mov	edi, -55
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	edi, -51
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	cmp	DWORD PTR -4[rbp], 76
	jle	.L13
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L1
.L10:
	mov	edi, -52
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	edi, -51
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L14:
	cmp	DWORD PTR -4[rbp], 76
	jle	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L1
.L9:
	mov	edi, -57
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L17:
	mov	edi, -60
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L16:
	cmp	DWORD PTR -4[rbp], 76
	jle	.L17
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L1
.L8:
	mov	edi, -56
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L18
.L19:
	mov	edi, -51
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L18:
	cmp	DWORD PTR -4[rbp], 76
	jle	.L19
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L1
.L7:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	system@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	jmp	.L1
.L6:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L20
.L21:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L20:
	cmp	DWORD PTR -4[rbp], 105
	jle	.L21
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L23:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L22:
	cmp	DWORD PTR -4[rbp], 110
	jle	.L23
	mov	edi, 10
	call	putchar@PLT
	jmp	.L1
.L5:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L24:
	cmp	DWORD PTR -4[rbp], 101
	jle	.L25
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L26
.L27:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L26:
	cmp	DWORD PTR -4[rbp], 101
	jle	.L27
	jmp	.L1
.L3:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L29:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L28:
	cmp	DWORD PTR -4[rbp], 108
	jle	.L29
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L31:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L30:
	cmp	DWORD PTR -4[rbp], 111
	jle	.L31
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	UI, .-UI
	.section	.rodata
.LC10:
	.string	""
	.align 8
.LC11:
	.string	"\272 Developer: Thanasis Bounos%-37sVersion: 1.5 \272\n"
.LC12:
	.string	"\272"
.LC13:
	.string	"%-32sBasic Menu:%-35s\272\n"
	.align 8
.LC14:
	.string	"\272  Choose one of the following:%-47s\272\n"
.LC15:
	.string	"1. Show all"
.LC16:
	.string	"\272%-4s%-73s\272\n"
.LC17:
	.string	"2. Enter a new record"
.LC18:
	.string	"3. Delete a record"
.LC19:
	.string	"4. Modify a record"
.LC20:
	.string	"5. Search"
.LC21:
	.string	"6. Update database"
.LC22:
	.string	"0. Terminate"
	.align 8
.LC23:
	.string	"\272 To apply changes made to the database, you have to press six(6), else any%-3s\272\n\272 changes made will be lost.%-50s\272\n"
.LC24:
	.string	"\n> "
.LC25:
	.string	"%s"
	.text
	.globl	display_scan
	.type	display_scan, @function
display_scan:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], -1
	mov	edi, 1
	call	UI
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	lea	rsi, .LC10[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC15[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC17[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC18[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC19[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC20[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC21[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC22[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	edi, 1
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
.L35:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L33
	cmp	DWORD PTR -20[rbp], 1
	je	.L33
	cmp	DWORD PTR -20[rbp], 2
	je	.L33
	cmp	DWORD PTR -20[rbp], 3
	je	.L33
	cmp	DWORD PTR -20[rbp], 4
	je	.L33
	cmp	DWORD PTR -20[rbp], 5
	je	.L33
	cmp	DWORD PTR -20[rbp], 6
	je	.L33
	mov	edi, 6
	call	UI
.L33:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L34
	cmp	DWORD PTR -20[rbp], 1
	je	.L34
	cmp	DWORD PTR -20[rbp], 2
	je	.L34
	cmp	DWORD PTR -20[rbp], 3
	je	.L34
	cmp	DWORD PTR -20[rbp], 4
	je	.L34
	cmp	DWORD PTR -20[rbp], 5
	je	.L34
	cmp	DWORD PTR -20[rbp], 6
	jne	.L35
.L34:
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	display_scan, .-display_scan
	.section	.rodata
.LC26:
	.string	"r"
.LC27:
	.string	"cars.txt"
	.text
	.globl	lines
	.type	lines, @function
lines:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L39
	mov	edi, 7
	call	UI
	jmp	.L40
.L39:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L41
.L42:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -124[rbp], 1
.L41:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L42
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L40:
	mov	eax, DWORD PTR -124[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lines, .-lines
	.section	.rodata
	.align 8
.LC28:
	.string	"%-26s1. Show all:(%d Records)%-28s\272\n"
	.align 8
.LC29:
	.string	"\272  Reading \"cars.txt\"...%-54s\272\n"
.LC30:
	.string	"Purchase Date"
.LC31:
	.string	"Manufacturer"
.LC32:
	.string	"Colour"
.LC33:
	.string	"Car Number"
.LC34:
	.string	"\272%-4s%-15s%-15s%-22s%-21s\272\n"
.LC35:
	.string	"%d %s %s %d"
.LC36:
	.string	"\272%-4s%-15d%-15s%-22s%-21d\272\n"
	.text
	.globl	print
	.type	print, @function
print:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	je	.L46
	mov	eax, 0
	call	lines
	mov	DWORD PTR -92[rbp], eax
	mov	edi, 1
	call	UI
	mov	eax, DWORD PTR -92[rbp]
	lea	rcx, .LC10[rip]
	mov	edx, eax
	lea	rsi, .LC12[rip]
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rsi, .LC10[rip]
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	jmp	.L47
.L48:
	lea	rax, -80[rbp]
	lea	rdi, 56[rax]
	lea	rsi, -80[rbp]
	lea	rax, -80[rbp]
	lea	rcx, 25[rax]
	lea	rax, -80[rbp]
	lea	rdx, 52[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	lea	rcx, -80[rbp]
	lea	rdx, -80[rbp]
	add	rdx, 25
	mov	r9d, esi
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
.L47:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L48
	mov	edi, 4
	call	UI
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L51
.L46:
	mov	edi, 7
	call	UI
.L51:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print, .-print
	.section	.rodata
.LC37:
	.string	"%-15sWrite the car's number> "
.LC38:
	.string	"%-15sWrite the car's colour> "
	.align 8
.LC39:
	.string	"%-15sWrite the car's manufacturer> "
	.align 8
.LC40:
	.string	"%-15sWrite the car's purchase date> "
	.text
	.globl	new_record
	.type	new_record, @function
new_record:
.LFB10:
	.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, 232
	.cfi_offset 3, -24
	mov	QWORD PTR -232[rbp], rdi
	mov	DWORD PTR -236[rbp], esi
	mov	DWORD PTR -240[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -216[rbp], 0
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	je	.L62
	mov	eax, 0
	call	lines
	mov	DWORD PTR -216[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -220[rbp], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	lea	rsi, 56[rax]
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	lea	rdx, 52[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	r9, rsi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -220[rbp], 1
.L54:
	mov	eax, DWORD PTR -220[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L55
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L62:
	lea	rsi, .LC10[rip]
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -140[rbp], eax
	mov	DWORD PTR -220[rbp], 0
	mov	DWORD PTR -212[rbp], 0
	jmp	.L56
.L59:
	mov	ecx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	ecx, eax
	jne	.L57
	mov	eax, DWORD PTR -220[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -240[rbp], eax
	je	.L57
	mov	DWORD PTR -212[rbp], -1
	jmp	.L58
.L57:
	add	DWORD PTR -220[rbp], 1
.L56:
	mov	eax, DWORD PTR -220[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L59
.L58:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 9999
	jg	.L60
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 999
	jle	.L60
	cmp	DWORD PTR -212[rbp], -1
	jne	.L61
.L60:
	mov	edi, 6
	call	UI
.L61:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 9999
	jg	.L62
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 999
	jle	.L62
	cmp	DWORD PTR -212[rbp], -1
	je	.L62
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	je	.L63
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	free@PLT
.L63:
	lea	rsi, .LC10[rip]
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	add	rax, 25
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rsi, .LC10[rip]
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L66:
	lea	rsi, .LC10[rip]
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 1959
	jg	.L64
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 2006
	jg	.L65
.L64:
	mov	edi, 6
	call	UI
.L65:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 2010
	jg	.L66
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, 1979
	jle	.L66
	mov	rax, QWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rbx, QWORD PTR -152[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	edx, DWORD PTR -136[rbp]
	mov	DWORD PTR 56[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	mov	rax, QWORD PTR -232[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	new_record, .-new_record
	.section	.rodata
	.align 8
.LC41:
	.string	"%-5sAll the car numbers:%-53s\272\n"
.LC42:
	.string	"\t%d\t"
.LC43:
	.string	"\n\n> "
	.text
	.globl	bubblesort_scan
	.type	bubblesort_scan, @function
bubblesort_scan:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	mov	DWORD PTR -156[rbp], 0
	mov	DWORD PTR -148[rbp], 1
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L70
	mov	edi, 7
	call	UI
	jmp	.L69
.L70:
	mov	eax, 0
	call	lines
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR -164[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	lea	rsi, 56[rax]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	lea	rdx, 52[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	r9, rsi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -164[rbp], 1
.L71:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L72
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -164[rbp], 1
	jmp	.L73
.L77:
	mov	DWORD PTR -160[rbp], 0
	jmp	.L74
.L76:
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 52[rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	cmp	edx, eax
	jle	.L75
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -128[rbp], rcx
	mov	QWORD PTR -120[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rdx, QWORD PTR 48[rax]
	mov	QWORD PTR -80[rbp], rdx
	mov	eax, DWORD PTR 56[rax]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -160[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	edx, DWORD PTR 56[rdx]
	mov	DWORD PTR 56[rax], edx
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	edx, DWORD PTR -72[rbp]
	mov	DWORD PTR 56[rax], edx
.L75:
	add	DWORD PTR -160[rbp], 1
.L74:
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	cmp	DWORD PTR -160[rbp], eax
	jl	.L76
	add	DWORD PTR -164[rbp], 1
.L73:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L77
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	DWORD PTR -164[rbp], 0
	jmp	.L78
.L79:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	mov	esi, eax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -164[rbp], 1
.L78:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L79
.L85:
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -148[rbp], eax
	mov	DWORD PTR -164[rbp], 0
	jmp	.L80
.L83:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -148[rbp], eax
	jne	.L81
	mov	DWORD PTR -156[rbp], 1
.L81:
	add	DWORD PTR -164[rbp], 1
.L80:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jge	.L82
	movzx	eax, BYTE PTR -64[rbp]
	cmp	al, 48
	jne	.L83
.L82:
	cmp	DWORD PTR -156[rbp], 0
	jne	.L84
	mov	edi, 6
	call	UI
.L84:
	cmp	DWORD PTR -156[rbp], 0
	je	.L85
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	mov	DWORD PTR -164[rbp], 0
	jmp	.L86
.L88:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -148[rbp], eax
	jne	.L87
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
.L87:
	add	DWORD PTR -164[rbp], 1
.L86:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L88
	mov	edi, 4
	call	UI
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -148[rbp]
.L69:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L90
	call	__stack_chk_fail@PLT
.L90:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bubblesort_scan, .-bubblesort_scan
	.section	.rodata
.LC44:
	.string	"%-32sSearch Menu:%-34s\272\n"
.LC45:
	.string	"1. By number"
.LC46:
	.string	"2. By colour"
.LC47:
	.string	"3. By manufacturer"
.LC48:
	.string	"4. By manufacturing date"
.LC49:
	.string	"0. Return to basic menu"
	.text
	.globl	search_display_scan
	.type	search_display_scan, @function
search_display_scan:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 1
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	lea	rsi, .LC10[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC45[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC46[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC47[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC48[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, .LC49[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
.L94:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L92
	cmp	DWORD PTR -20[rbp], 1
	je	.L92
	cmp	DWORD PTR -20[rbp], 2
	je	.L92
	cmp	DWORD PTR -20[rbp], 3
	je	.L92
	cmp	DWORD PTR -20[rbp], 4
	je	.L92
	mov	edi, 6
	call	UI
.L92:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L93
	cmp	DWORD PTR -20[rbp], 1
	je	.L93
	cmp	DWORD PTR -20[rbp], 2
	je	.L93
	cmp	DWORD PTR -20[rbp], 3
	je	.L93
	cmp	DWORD PTR -20[rbp], 4
	jne	.L94
.L93:
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L96
	call	__stack_chk_fail@PLT
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	search_display_scan, .-search_display_scan
	.section	.rodata
	.align 8
.LC50:
	.string	"%-28s5.1. Search - By Number:%-26s\272\n"
.LC51:
	.string	" %c%s"
	.text
	.globl	search_number
	.type	search_number, @function
search_number:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	DWORD PTR -28[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	mov	esi, eax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L98:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L99
.L102:
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -13[rbp]
	lea	rax, -29[rbp]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L100
	cmp	DWORD PTR -20[rbp], 999
	jle	.L100
	cmp	DWORD PTR -20[rbp], 9999
	jle	.L101
.L100:
	mov	edi, 6
	call	UI
.L101:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L102
	cmp	DWORD PTR -20[rbp], 999
	jle	.L102
	cmp	DWORD PTR -20[rbp], 9999
	jg	.L102
	lea	rdi, .LC6[rip]
	call	system@PLT
	movzx	eax, BYTE PTR -29[rbp]
	movsx	eax, al
	cmp	eax, 62
	je	.L103
	cmp	eax, 62
	jg	.L104
	cmp	eax, 60
	je	.L105
	cmp	eax, 61
	jne	.L104
	mov	DWORD PTR -28[rbp], 0
	jmp	.L106
.L109:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L107
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -24[rbp], 1
	nop
	jmp	.L104
.L107:
	add	DWORD PTR -28[rbp], 1
.L106:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L109
	jmp	.L104
.L103:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L110
.L113:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L111
	cmp	DWORD PTR -24[rbp], 0
	jne	.L112
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L112:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -24[rbp], 1
.L111:
	add	DWORD PTR -28[rbp], 1
.L110:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L113
	jmp	.L104
.L105:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L114
.L117:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L115
	cmp	DWORD PTR -24[rbp], 0
	jne	.L116
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L116:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -24[rbp], 1
.L115:
	add	DWORD PTR -28[rbp], 1
.L114:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L117
	nop
.L104:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L118
	mov	edi, 8
	call	UI
	jmp	.L121
.L118:
	mov	edi, 4
	call	UI
.L121:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L120
	call	__stack_chk_fail@PLT
.L120:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	search_number, .-search_number
	.section	.rodata
	.align 8
.LC52:
	.string	"%-29s5.2. Search - By Colour:%-25s\272\n"
	.align 8
.LC53:
	.string	"%-5sAll the car colours:%-53s\272\n"
.LC54:
	.string	"%-10s%-10s"
.LC55:
	.string	"\n\n(Not case sensitive) > "
	.text
	.globl	search_colour
	.type	search_colour, @function
search_colour:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 96
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	rsi, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rsi
	xor	esi, esi
	mov	rsi, rsp
	mov	r12, rsi
	mov	DWORD PTR -84[rbp], 0
	mov	esi, DWORD PTR -108[rbp]
	movsx	rdi, esi
	sub	rdi, 1
	mov	QWORD PTR -80[rbp], rdi
	movsx	rdi, esi
	mov	rax, rdi
	mov	edx, 0
	imul	r8, rdx, 200
	imul	rdi, rax, 0
	add	rdi, r8
	mov	r8d, 200
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, esi
	mov	rcx, rax
	mov	ebx, 0
	imul	rdx, rbx, 200
	imul	rax, rcx, 0
	lea	rdi, [rdx+rax]
	mov	eax, 200
	mul	rcx
	lea	rcx, [rdi+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L123:
	cmp	rsp, rdx
	je	.L124
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L123
.L124:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L125
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L125:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	DWORD PTR -92[rbp], 0
	jmp	.L126
.L131:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	mov	rcx, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	jmp	.L127
.L129:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	mov	rcx, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L128
	mov	DWORD PTR -96[rbp], 1
.L128:
	add	DWORD PTR -88[rbp], 1
.L127:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L129
	cmp	DWORD PTR -96[rbp], 0
	jne	.L130
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
.L130:
	add	DWORD PTR -92[rbp], 1
.L126:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L131
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L132
.L133:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	BYTE PTR -64[rbp+rax], dl
	add	DWORD PTR -92[rbp], 1
.L132:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	test	al, al
	jne	.L133
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	jmp	.L134
.L137:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	edx, DWORD PTR -84[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncmp@PLT
	test	eax, eax
	jne	.L135
	cmp	DWORD PTR -96[rbp], 0
	jne	.L136
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L136:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -96[rbp], 1
.L135:
	add	DWORD PTR -92[rbp], 1
.L134:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L137
	cmp	DWORD PTR -96[rbp], 0
	jne	.L138
	mov	edi, 8
	call	UI
	jmp	.L139
.L138:
	mov	edi, 4
	call	UI
.L139:
	mov	rsp, r12
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	search_colour, .-search_colour
	.section	.rodata
	.align 8
.LC56:
	.string	"%-26s5.3. Search - By Manufacturer:%-22s\272\n"
	.align 8
.LC57:
	.string	"%-5sAll the car manufacturers:%-47s\272\n"
	.text
	.globl	search_manufacturer
	.type	search_manufacturer, @function
search_manufacturer:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 96
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	rsi, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rsi
	xor	esi, esi
	mov	rsi, rsp
	mov	r12, rsi
	mov	esi, DWORD PTR -108[rbp]
	movsx	rdi, esi
	sub	rdi, 1
	mov	QWORD PTR -80[rbp], rdi
	movsx	rdi, esi
	mov	rax, rdi
	mov	edx, 0
	imul	r8, rdx, 200
	imul	rdi, rax, 0
	add	rdi, r8
	mov	r8d, 200
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, esi
	mov	rcx, rax
	mov	ebx, 0
	imul	rdx, rbx, 200
	imul	rax, rcx, 0
	lea	rdi, [rdx+rax]
	mov	eax, 200
	mul	rcx
	lea	rcx, [rdi+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L142:
	cmp	rsp, rdx
	je	.L143
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L142
.L143:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L144
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L144:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC56[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC57[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	DWORD PTR -92[rbp], 0
	jmp	.L145
.L150:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rsi, rcx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	jmp	.L146
.L148:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rsi, rcx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L147
	mov	DWORD PTR -96[rbp], 1
.L147:
	add	DWORD PTR -88[rbp], 1
.L146:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L148
	cmp	DWORD PTR -96[rbp], 0
	jne	.L149
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
.L149:
	add	DWORD PTR -92[rbp], 1
.L145:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L150
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L151
.L152:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	BYTE PTR -64[rbp+rax], dl
	add	DWORD PTR -92[rbp], 1
.L151:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	test	al, al
	jne	.L152
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	jmp	.L153
.L156:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, rax
	mov	edx, DWORD PTR -84[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncmp@PLT
	test	eax, eax
	jne	.L154
	cmp	DWORD PTR -96[rbp], 0
	jne	.L155
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L155:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -96[rbp], 1
.L154:
	add	DWORD PTR -92[rbp], 1
.L153:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L156
	cmp	DWORD PTR -96[rbp], 0
	jne	.L157
	mov	edi, 8
	call	UI
	jmp	.L158
.L157:
	mov	edi, 4
	call	UI
.L158:
	mov	rsp, r12
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L159
	call	__stack_chk_fail@PLT
.L159:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	search_manufacturer, .-search_manufacturer
	.section	.rodata
	.align 8
.LC58:
	.string	"%-28s5.4. Search - By Date:%-28s\272\n"
	.align 8
.LC59:
	.string	"%-5sAll the car manufacture dates:%-43s\272\n"
	.text
	.globl	search_date
	.type	search_date, @function
search_date:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC58[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	mov	DWORD PTR -32[rbp], 0
	jmp	.L161
.L166:
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L162
.L164:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	cmp	ecx, eax
	jne	.L163
	mov	DWORD PTR -28[rbp], 1
.L163:
	add	DWORD PTR -24[rbp], 1
.L162:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L164
	cmp	DWORD PTR -28[rbp], 0
	jne	.L165
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	mov	esi, eax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
.L165:
	add	DWORD PTR -32[rbp], 1
.L161:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L166
.L169:
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -13[rbp]
	lea	rax, -33[rbp]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L167
	cmp	DWORD PTR -20[rbp], 999
	jle	.L167
	cmp	DWORD PTR -20[rbp], 9999
	jle	.L168
.L167:
	mov	edi, 6
	call	UI
.L168:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	je	.L169
	cmp	DWORD PTR -20[rbp], 999
	jle	.L169
	cmp	DWORD PTR -20[rbp], 9999
	jg	.L169
	lea	rdi, .LC6[rip]
	call	system@PLT
	movzx	eax, BYTE PTR -33[rbp]
	movsx	eax, al
	cmp	eax, 62
	je	.L170
	cmp	eax, 62
	jg	.L171
	cmp	eax, 60
	je	.L172
	cmp	eax, 61
	jne	.L171
	mov	DWORD PTR -32[rbp], 0
	jmp	.L173
.L176:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L174
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 1
	nop
	jmp	.L171
.L174:
	add	DWORD PTR -32[rbp], 1
.L173:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L176
	jmp	.L171
.L170:
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L177
.L180:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L178
	cmp	DWORD PTR -28[rbp], 0
	jne	.L179
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L179:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 1
.L178:
	add	DWORD PTR -32[rbp], 1
.L177:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L180
	jmp	.L171
.L172:
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L181
.L184:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L182
	cmp	DWORD PTR -28[rbp], 0
	jne	.L183
	mov	edi, 1
	call	UI
	lea	r9, .LC30[rip]
	lea	r8, .LC31[rip]
	lea	rcx, .LC32[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	UI
.L183:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 25[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 52[rax]
	mov	r9d, esi
	mov	r8, rdi
	mov	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 1
.L182:
	add	DWORD PTR -32[rbp], 1
.L181:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L184
	nop
.L171:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L185
	mov	edi, 8
	call	UI
	jmp	.L188
.L185:
	mov	edi, 4
	call	UI
.L188:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L187
	call	__stack_chk_fail@PLT
.L187:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	search_date, .-search_date
	.globl	search_main
	.type	search_main, @function
search_main:
.LFB17:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -136[rbp], 0
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L190
	mov	edi, 7
	call	UI
	jmp	.L201
.L190:
	mov	eax, 0
	call	lines
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L192
.L193:
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	lea	rsi, 56[rax]
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	lea	rdx, 52[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	r9, rsi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -140[rbp], 1
.L192:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -136[rbp]
	jl	.L193
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L201:
	mov	eax, 0
	call	search_display_scan
	mov	DWORD PTR -132[rbp], eax
	lea	rdi, .LC6[rip]
	call	system@PLT
	cmp	DWORD PTR -132[rbp], 0
	je	.L194
	mov	edi, 1
	call	UI
.L194:
	cmp	DWORD PTR -132[rbp], 4
	je	.L195
	cmp	DWORD PTR -132[rbp], 4
	jg	.L196
	cmp	DWORD PTR -132[rbp], 3
	je	.L197
	cmp	DWORD PTR -132[rbp], 3
	jg	.L196
	cmp	DWORD PTR -132[rbp], 1
	je	.L198
	cmp	DWORD PTR -132[rbp], 2
	je	.L199
	jmp	.L196
.L198:
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	search_number
	jmp	.L196
.L199:
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	search_colour
	jmp	.L196
.L197:
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	search_manufacturer
	jmp	.L196
.L195:
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	search_date
	nop
.L196:
	cmp	DWORD PTR -132[rbp], 0
	je	.L200
	mov	edi, 5
	call	UI
.L200:
	cmp	DWORD PTR -132[rbp], 0
	jne	.L201
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	je	.L204
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L204:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L203
	call	__stack_chk_fail@PLT
.L203:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	search_main, .-search_main
	.section	.rodata
.LC60:
	.string	"w"
.LC61:
	.string	"a"
.LC62:
	.string	"\n%d %s %s %d"
	.text
	.globl	update
	.type	update, @function
update:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 0
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L206
	cmp	DWORD PTR -148[rbp], 1
	je	.L206
	mov	edi, 7
	call	UI
	jmp	.L207
.L206:
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L208
	cmp	DWORD PTR -148[rbp], 1
	jne	.L208
	lea	rsi, .LC60[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	esi, DWORD PTR 72[rbp]
	mov	edx, DWORD PTR 68[rbp]
	lea	rcx, 41[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	lea	r8, 16[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L207
.L208:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L209
.L210:
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -140[rbp], 1
.L209:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L210
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	rewind@PLT
	cmp	DWORD PTR -148[rbp], 1
	jne	.L211
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC61[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	cmp	al, 10
	je	.L212
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L212:
	mov	esi, DWORD PTR 72[rbp]
	mov	edx, DWORD PTR 68[rbp]
	lea	rcx, 41[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	lea	r8, 16[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L213
.L211:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L214
.L215:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rsi, 56[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rdx, 52[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9, rsi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -144[rbp], 1
.L214:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L215
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC60[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	DWORD PTR -148[rbp], 2
	je	.L216
	cmp	DWORD PTR -148[rbp], 3
	je	.L217
	jmp	.L213
.L216:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L218
.L221:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -152[rbp], eax
	je	.L219
	cmp	DWORD PTR -136[rbp], 0
	jne	.L220
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 52[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -136[rbp], 1
	jmp	.L219
.L220:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 52[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L219:
	add	DWORD PTR -144[rbp], 1
.L218:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L221
	jmp	.L213
.L217:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L222
.L227:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 52[rax]
	cmp	DWORD PTR -152[rbp], eax
	je	.L223
	cmp	DWORD PTR -136[rbp], 0
	jne	.L224
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 52[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -136[rbp], 1
	jmp	.L225
.L224:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 56[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	lea	rcx, 25[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 52[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L225
.L223:
	cmp	DWORD PTR -136[rbp], 0
	jne	.L226
	mov	esi, DWORD PTR 72[rbp]
	mov	edx, DWORD PTR 68[rbp]
	lea	rcx, 41[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	lea	r8, 16[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -136[rbp], 1
	jmp	.L225
.L226:
	mov	esi, DWORD PTR 72[rbp]
	mov	edx, DWORD PTR 68[rbp]
	lea	rcx, 41[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	r9d, esi
	lea	r8, 16[rbp]
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L225:
	add	DWORD PTR -144[rbp], 1
.L222:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L227
	nop
.L213:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L207:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L228
	call	__stack_chk_fail@PLT
.L228:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	update, .-update
	.section	.rodata
.LC63:
	.string	"%-32s2. New record:%-32s\272\n"
	.align 8
.LC64:
	.string	"%-32s3. Delete a record:%-27s\272\n"
	.align 8
.LC65:
	.string	"%-32s4. Modify a record:%-27s\272\n"
	.align 8
.LC66:
	.string	"Error: choose 2/3/4, and then update the database..."
.LC67:
	.string	"Updating Database..."
.LC68:
	.string	"Terminating..."
	.text
	.globl	main
	.type	main, @function
main:
.LFB19:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], -1
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -40[rbp], 0
.L252:
	mov	eax, 0
	call	display_scan
	mov	DWORD PTR -100[rbp], eax
	lea	rdi, .LC6[rip]
	call	system@PLT
	cmp	DWORD PTR -100[rbp], 6
	ja	.L230
	mov	eax, DWORD PTR -100[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L232[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L232[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L232:
	.long	.L230-.L232
	.long	.L237-.L232
	.long	.L236-.L232
	.long	.L235-.L232
	.long	.L234-.L232
	.long	.L233-.L232
	.long	.L231-.L232
	.text
.L237:
	mov	eax, 0
	call	print
	mov	edi, 5
	call	UI
	jmp	.L230
.L236:
	mov	edi, 1
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC63[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	UI
	lea	rax, -96[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	new_record
	mov	DWORD PTR -104[rbp], -1
	lea	rdi, .LC6[rip]
	call	system@PLT
	jmp	.L230
.L235:
	mov	edi, 1
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC64[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	mov	eax, 0
	call	bubblesort_scan
	mov	DWORD PTR -104[rbp], eax
	mov	edi, 5
	call	UI
	jmp	.L230
.L234:
	mov	edi, 1
	call	UI
	lea	rdx, .LC10[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	UI
	mov	eax, 0
	call	bubblesort_scan
	mov	DWORD PTR -104[rbp], eax
	lea	rax, -176[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	new_record
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -40[rbp], eax
	lea	rdi, .LC6[rip]
	call	system@PLT
	jmp	.L230
.L233:
	mov	eax, 0
	call	search_main
	lea	rdi, .LC6[rip]
	call	system@PLT
	jmp	.L230
.L231:
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L238
	cmp	DWORD PTR -104[rbp], -1
	jne	.L238
	mov	DWORD PTR -108[rbp], 0
	jmp	.L239
.L240:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L239:
	cmp	DWORD PTR -108[rbp], 93
	jle	.L240
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L241
.L242:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L241:
	cmp	DWORD PTR -108[rbp], 93
	jle	.L242
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L243
.L238:
	cmp	DWORD PTR -104[rbp], -1
	jne	.L244
	sub	rsp, 64
	mov	rax, rsp
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 56[rax], edx
	mov	esi, 0
	mov	edi, 1
	call	update
	add	rsp, 64
	jmp	.L243
.L244:
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L245
	mov	edx, DWORD PTR -104[rbp]
	sub	rsp, 64
	mov	rax, rsp
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 56[rax], ecx
	mov	esi, edx
	mov	edi, 2
	call	update
	add	rsp, 64
	jmp	.L243
.L245:
	mov	edx, DWORD PTR -104[rbp]
	sub	rsp, 64
	mov	rax, rsp
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 56[rax], ecx
	mov	esi, edx
	mov	edi, 3
	call	update
	add	rsp, 64
.L243:
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L246
	cmp	DWORD PTR -104[rbp], -1
	je	.L247
.L246:
	mov	DWORD PTR -108[rbp], 0
	jmp	.L248
.L249:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L248:
	cmp	DWORD PTR -108[rbp], 107
	jle	.L249
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L250
.L251:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L250:
	cmp	DWORD PTR -108[rbp], 111
	jle	.L251
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -104[rbp], -1
.L247:
	mov	edi, 5
	call	UI
	nop
.L230:
	cmp	DWORD PTR -100[rbp], 0
	jne	.L252
	mov	DWORD PTR -108[rbp], 0
	jmp	.L253
.L254:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L253:
	cmp	DWORD PTR -108[rbp], 111
	jle	.L254
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L255
.L256:
	mov	edi, -80
	call	putchar@PLT
	add	DWORD PTR -108[rbp], 1
.L255:
	cmp	DWORD PTR -108[rbp], 113
	jle	.L256
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	system@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L258
	call	__stack_chk_fail@PLT
.L258:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.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	"612940.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\273\000"
	.align	2
.LC1:
	.ascii	"\271\000"
	.align	2
.LC2:
	.ascii	"\266\000"
	.align	2
.LC3:
	.ascii	"\274\000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"pause\000"
	.align	2
.LC6:
	.ascii	"cls\000"
	.align	2
.LC7:
	.ascii	"Error: invalid_value...\000"
	.align	2
.LC8:
	.ascii	"Error opening the file \"cars.txt\"...\000"
	.align	2
.LC9:
	.ascii	"No results found...\000"
	.text
	.align	2
	.global	UI
	.syntax unified
	.arm
	.fpu softvfp
	.type	UI, %function
UI:
	@ 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	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L11:
	mvn	r0, #54
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	mvn	r0, #50
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	ble	.L13
	ldr	r0, .L32
	bl	puts
	b	.L1
.L10:
	mvn	r0, #51
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	mvn	r0, #50
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	ble	.L15
	ldr	r0, .L32+4
	bl	puts
	b	.L1
.L9:
	mvn	r0, #56
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	mvn	r0, #59
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	ble	.L17
	ldr	r0, .L32+8
	bl	puts
	b	.L1
.L8:
	mvn	r0, #55
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L19:
	mvn	r0, #50
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	ble	.L19
	ldr	r0, .L32+12
	bl	puts
	b	.L1
.L7:
	ldr	r0, .L32+16
	bl	puts
	ldr	r0, .L32+20
	bl	system
	ldr	r0, .L32+24
	bl	system
	b	.L1
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	ble	.L21
	ldr	r0, .L32+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #110
	ble	.L23
	mov	r0, #10
	bl	putchar
	b	.L1
.L5:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L25:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #101
	ble	.L25
	ldr	r0, .L32+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L27:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #101
	ble	.L27
	b	.L1
.L3:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L29:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #108
	ble	.L29
	ldr	r0, .L32+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #111
	ble	.L31
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	UI, .-UI
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"\272 Developer: Thanasis Bounos%-37sVersion: 1.5 \272"
	.ascii	"\012\000"
	.align	2
.LC12:
	.ascii	"\272\000"
	.align	2
.LC13:
	.ascii	"%-32sBasic Menu:%-35s\272\012\000"
	.align	2
.LC14:
	.ascii	"\272  Choose one of the following:%-47s\272\012\000"
	.align	2
.LC15:
	.ascii	"1. Show all\000"
	.align	2
.LC16:
	.ascii	"\272%-4s%-73s\272\012\000"
	.align	2
.LC17:
	.ascii	"2. Enter a new record\000"
	.align	2
.LC18:
	.ascii	"3. Delete a record\000"
	.align	2
.LC19:
	.ascii	"4. Modify a record\000"
	.align	2
.LC20:
	.ascii	"5. Search\000"
	.align	2
.LC21:
	.ascii	"6. Update database\000"
	.align	2
.LC22:
	.ascii	"0. Terminate\000"
	.align	2
.LC23:
	.ascii	"\272 To apply changes made to the database, you hav"
	.ascii	"e to press six(6), else any%-3s\272\012\272 changes"
	.ascii	" made will be lost.%-50s\272\012\000"
	.align	2
.LC24:
	.ascii	"\012> \000"
	.align	2
.LC25:
	.ascii	"%s\000"
	.global	__aeabi_d2iz
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display_scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_scan, %function
display_scan:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-20]
	mov	r0, #1
	bl	UI
	ldr	r1, .L40+4
	ldr	r0, .L40+8
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r2, .L40+4
	ldr	r1, .L40+12
	ldr	r0, .L40+16
	bl	printf
	mov	r0, #3
	bl	UI
	ldr	r1, .L40+4
	ldr	r0, .L40+20
	bl	printf
	ldr	r2, .L40+24
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+32
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+36
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+40
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+44
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+48
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	ldr	r2, .L40+52
	ldr	r1, .L40+4
	ldr	r0, .L40+28
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r0, #1
	bl	UI
	ldr	r2, .L40+4
	ldr	r1, .L40+4
	ldr	r0, .L40+56
	bl	printf
	mov	r0, #4
	bl	UI
.L37:
	ldr	r0, .L40+60
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L40+64
	bl	__isoc99_scanf
	sub	r3, fp, #16
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	beq	.L35
	mov	r0, #6
	bl	UI
.L35:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	bne	.L37
.L36:
	ldr	r3, [fp, #-20]
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC26
	.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
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	display_scan, .-display_scan
	.section	.rodata
	.align	2
.LC27:
	.ascii	"r\000"
	.align	2
.LC28:
	.ascii	"cars.txt\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lines
	.syntax unified
	.arm
	.fpu softvfp
	.type	lines, %function
lines:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L49+4
	ldr	r0, .L49+8
	bl	fopen
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L43
	mov	r0, #7
	bl	UI
	b	.L44
.L43:
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L45
.L46:
	sub	r3, fp, #108
	ldr	r2, [fp, #-112]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L45:
	ldr	r0, [fp, #-112]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-112]
	bl	fclose
.L44:
	ldr	r3, [fp, #-116]
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC29
	.word	.LC27
	.word	.LC28
	.size	lines, .-lines
	.section	.rodata
	.align	2
.LC30:
	.ascii	"%-26s1. Show all:(%d Records)%-28s\272\012\000"
	.align	2
.LC31:
	.ascii	"\272  Reading \"cars.txt\"...%-54s\272\012\000"
	.align	2
.LC32:
	.ascii	"Colour\000"
	.align	2
.LC33:
	.ascii	"Car Number\000"
	.align	2
.LC34:
	.ascii	"\272%-4s%-15s%-15s%-22s%-21s\272\012\000"
	.align	2
.LC35:
	.ascii	"Purchase Date\000"
	.align	2
.LC36:
	.ascii	"Manufacturer\000"
	.align	2
.LC37:
	.ascii	"%d %s %s %d\000"
	.align	2
.LC38:
	.ascii	"\272%-4s%-15d%-15s%-22s%-21d\272\012\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L58+4
	ldr	r0, .L58+8
	bl	fopen
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L52
	bl	lines
	str	r0, [fp, #-72]
	mov	r0, #1
	bl	UI
	ldr	r3, .L58+12
	ldr	r2, [fp, #-72]
	ldr	r1, .L58+16
	ldr	r0, .L58+20
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r1, .L58+12
	ldr	r0, .L58+24
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r3, .L58+28
	str	r3, [sp, #4]
	ldr	r3, .L58+32
	str	r3, [sp]
	ldr	r3, .L58+36
	ldr	r2, .L58+40
	ldr	r1, .L58+12
	ldr	r0, .L58+44
	bl	printf
	mov	r0, #3
	bl	UI
	b	.L53
.L54:
	sub	r3, fp, #68
	add	r1, r3, #25
	sub	r3, fp, #68
	add	r2, r3, #52
	sub	r3, fp, #68
	add	r3, r3, #56
	str	r3, [sp, #4]
	sub	r3, fp, #68
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L58+48
	ldr	r0, [fp, #-76]
	bl	__isoc99_fscanf
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r2, fp, #68
	add	r2, r2, #25
	str	r3, [sp, #4]
	sub	r3, fp, #68
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L58+12
	ldr	r0, .L58+52
	bl	printf
.L53:
	ldr	r0, [fp, #-76]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	mov	r0, #4
	bl	UI
	ldr	r0, [fp, #-76]
	bl	fclose
	b	.L57
.L52:
	mov	r0, #7
	bl	UI
.L57:
	nop
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC39
	.word	.LC27
	.word	.LC28
	.word	.LC10
	.word	.LC12
	.word	.LC30
	.word	.LC31
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC37
	.word	.LC38
	.size	print, .-print
	.section	.rodata
	.align	2
.LC40:
	.ascii	"%-15sWrite the car's number> \000"
	.align	2
.LC41:
	.ascii	"%-15sWrite the car's colour> \000"
	.align	2
.LC42:
	.ascii	"%-15sWrite the car's manufacturer> \000"
	.align	2
.LC43:
	.ascii	"%-15sWrite the car's purchase date> \000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	new_record
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_record, %function
new_record:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	str	r0, [fp, #-192]
	str	r1, [fp, #-196]
	str	r2, [fp, #-200]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-184]
	ldr	r1, .L77+4
	ldr	r0, .L77+8
	bl	fopen
	str	r0, [fp, #-172]
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	beq	.L70
	bl	lines
	str	r0, [fp, #-184]
	ldr	r2, [fp, #-184]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L62
.L63:
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	add	r1, r3, #52
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	add	r3, r3, #56
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L77+12
	ldr	r0, [fp, #-172]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L62:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	cmp	r2, r3
	blt	.L63
	ldr	r0, [fp, #-172]
	bl	fclose
.L70:
	ldr	r1, .L77+16
	ldr	r0, .L77+20
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L77+24
	bl	__isoc99_scanf
	sub	r3, fp, #108
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-188]
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L64
.L67:
	ldr	r1, [fp, #-116]
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	cmp	r1, r3
	bne	.L65
	ldr	r2, [fp, #-188]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-176]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-200]
	cmp	r2, r3
	beq	.L65
	mvn	r3, #0
	str	r3, [fp, #-180]
	b	.L66
.L65:
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L64:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	cmp	r2, r3
	blt	.L67
.L66:
	ldr	r3, [fp, #-116]
	ldr	r2, .L77+28
	cmp	r3, r2
	bgt	.L68
	ldr	r3, [fp, #-116]
	cmp	r3, #1000
	blt	.L68
	ldr	r3, [fp, #-180]
	cmn	r3, #1
	bne	.L69
.L68:
	mov	r0, #6
	bl	UI
.L69:
	ldr	r3, [fp, #-116]
	ldr	r2, .L77+28
	cmp	r3, r2
	bgt	.L70
	ldr	r3, [fp, #-116]
	cmp	r3, #1000
	blt	.L70
	ldr	r3, [fp, #-180]
	cmn	r3, #1
	beq	.L70
	ldr	r1, .L77+4
	ldr	r0, .L77+8
	bl	fopen
	str	r0, [fp, #-172]
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	beq	.L71
	ldr	r0, [fp, #-176]
	bl	free
.L71:
	ldr	r1, .L77+16
	ldr	r0, .L77+32
	bl	printf
	sub	r3, fp, #168
	add	r3, r3, #25
	mov	r1, r3
	ldr	r0, .L77+24
	bl	__isoc99_scanf
	ldr	r1, .L77+16
	ldr	r0, .L77+36
	bl	printf
	sub	r3, fp, #168
	mov	r1, r3
	ldr	r0, .L77+24
	bl	__isoc99_scanf
.L74:
	ldr	r1, .L77+16
	ldr	r0, .L77+40
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L77+24
	bl	__isoc99_scanf
	sub	r3, fp, #108
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	ldr	r2, .L77+44
	cmp	r3, r2
	bgt	.L72
	ldr	r3, [fp, #-112]
	ldr	r2, .L77+48
	cmp	r3, r2
	bgt	.L73
.L72:
	mov	r0, #6
	bl	UI
.L73:
	ldr	r3, [fp, #-112]
	ldr	r2, .L77+52
	cmp	r3, r2
	bgt	.L74
	ldr	r3, [fp, #-112]
	ldr	r2, .L77+56
	cmp	r3, r2
	ble	.L74
	ldr	r3, [fp, #-192]
	mov	lr, r3
	sub	ip, fp, #168
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	ldr	r0, [fp, #-192]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC44
	.word	.LC27
	.word	.LC28
	.word	.LC37
	.word	.LC10
	.word	.LC40
	.word	.LC25
	.word	9999
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	1959
	.word	2006
	.word	2010
	.word	1979
	.size	new_record, .-new_record
	.section	.rodata
	.align	2
.LC45:
	.ascii	"%-5sAll the car numbers:%-53s\272\012\000"
	.align	2
.LC46:
	.ascii	"\011%d\011\000"
	.align	2
.LC47:
	.ascii	"\012\012> \000"
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bubblesort_scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	bubblesort_scan, %function
bubblesort_scan:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #1
	str	r3, [fp, #-108]
	ldr	r1, .L101+4
	ldr	r0, .L101+8
	bl	fopen
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L80
	mov	r0, #7
	bl	UI
	b	.L79
.L80:
	bl	lines
	str	r0, [fp, #-112]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L81
.L82:
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	add	r1, r3, #52
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	add	r3, r3, #56
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L101+12
	ldr	r0, [fp, #-104]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L81:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L82
	ldr	r0, [fp, #-104]
	bl	fclose
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L83
.L87:
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L84
.L86:
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	cmp	r1, r3
	ble	.L85
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r1, r3, r2
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	mov	ip, r3
	mov	lr, r1
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	mov	lr, r3
	sub	ip, fp, #96
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
.L85:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L84:
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L86
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L83:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L87
	ldr	r2, .L101+16
	ldr	r1, .L101+20
	ldr	r0, .L101+24
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L88
.L89:
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	mov	r1, r3
	ldr	r0, .L101+28
	bl	printf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L88:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L89
.L95:
	ldr	r0, .L101+32
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L101+36
	bl	__isoc99_scanf
	sub	r3, fp, #36
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L90
.L93:
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	bne	.L91
	mov	r3, #1
	str	r3, [fp, #-116]
.L91:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L90:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L92
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L93
.L92:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L94
	mov	r0, #6
	bl	UI
.L94:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	beq	.L95
	ldr	r0, .L101+40
	bl	system
	mov	r0, #1
	bl	UI
	ldr	r3, .L101+44
	str	r3, [sp, #4]
	ldr	r3, .L101+48
	str	r3, [sp]
	ldr	r3, .L101+52
	ldr	r2, .L101+56
	ldr	r1, .L101+16
	ldr	r0, .L101+60
	bl	printf
	mov	r0, #3
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L96
.L98:
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	bne	.L97
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L101+16
	ldr	r0, .L101+64
	bl	printf
.L97:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L96:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L98
	mov	r0, #4
	bl	UI
	ldr	r0, [fp, #-100]
	bl	free
	ldr	r3, [fp, #-108]
.L79:
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC48
	.word	.LC27
	.word	.LC28
	.word	.LC37
	.word	.LC10
	.word	.LC12
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC25
	.word	.LC6
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC38
	.size	bubblesort_scan, .-bubblesort_scan
	.section	.rodata
	.align	2
.LC49:
	.ascii	"%-32sSearch Menu:%-34s\272\012\000"
	.align	2
.LC50:
	.ascii	"1. By number\000"
	.align	2
.LC51:
	.ascii	"2. By colour\000"
	.align	2
.LC52:
	.ascii	"3. By manufacturer\000"
	.align	2
.LC53:
	.ascii	"4. By manufacturing date\000"
	.align	2
.LC54:
	.ascii	"0. Return to basic menu\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_display_scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_display_scan, %function
search_display_scan:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #1
	bl	UI
	ldr	r2, .L109+4
	ldr	r1, .L109+8
	ldr	r0, .L109+12
	bl	printf
	mov	r0, #3
	bl	UI
	ldr	r1, .L109+4
	ldr	r0, .L109+16
	bl	printf
	ldr	r2, .L109+20
	ldr	r1, .L109+4
	ldr	r0, .L109+24
	bl	printf
	ldr	r2, .L109+28
	ldr	r1, .L109+4
	ldr	r0, .L109+24
	bl	printf
	ldr	r2, .L109+32
	ldr	r1, .L109+4
	ldr	r0, .L109+24
	bl	printf
	ldr	r2, .L109+36
	ldr	r1, .L109+4
	ldr	r0, .L109+24
	bl	printf
	ldr	r2, .L109+40
	ldr	r1, .L109+4
	ldr	r0, .L109+24
	bl	printf
	mov	r0, #4
	bl	UI
.L106:
	ldr	r0, .L109+44
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L109+48
	bl	__isoc99_scanf
	sub	r3, fp, #16
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L104
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L104
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L104
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L104
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	beq	.L104
	mov	r0, #6
	bl	UI
.L104:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L105
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L105
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L105
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L105
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L106
.L105:
	ldr	r3, [fp, #-20]
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC55
	.word	.LC10
	.word	.LC12
	.word	.LC49
	.word	.LC14
	.word	.LC50
	.word	.LC16
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC24
	.word	.LC25
	.size	search_display_scan, .-search_display_scan
	.section	.rodata
	.align	2
.LC56:
	.ascii	"%-28s5.1. Search - By Number:%-26s\272\012\000"
	.align	2
.LC57:
	.ascii	" %c%s\000"
	.align	2
.LC58:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_number, %function
search_number:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L136
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r2, .L136+4
	ldr	r1, .L136+8
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r2, .L136+4
	ldr	r1, .L136+8
	ldr	r0, .L136+16
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L112
.L113:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	mov	r1, r3
	ldr	r0, .L136+20
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L112:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L113
.L116:
	ldr	r0, .L136+24
	bl	printf
	sub	r2, fp, #16
	sub	r3, fp, #29
	mov	r1, r3
	ldr	r0, .L136+28
	bl	__isoc99_scanf
	sub	r3, fp, #16
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L114
	ldr	r3, [fp, #-20]
	cmp	r3, #1000
	blt	.L114
	ldr	r3, [fp, #-20]
	ldr	r2, .L136+32
	cmp	r3, r2
	ble	.L115
.L114:
	mov	r0, #6
	bl	UI
.L115:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L116
	ldr	r3, [fp, #-20]
	cmp	r3, #1000
	blt	.L116
	ldr	r3, [fp, #-20]
	ldr	r2, .L136+32
	cmp	r3, r2
	bgt	.L116
	ldr	r0, .L136+36
	bl	system
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L117
	cmp	r3, #62
	bgt	.L118
	cmp	r3, #60
	beq	.L119
	cmp	r3, #61
	bne	.L118
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L120
.L123:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L121
	mov	r0, #1
	bl	UI
	ldr	r3, .L136+40
	str	r3, [sp, #4]
	ldr	r3, .L136+44
	str	r3, [sp]
	ldr	r3, .L136+48
	ldr	r2, .L136+52
	ldr	r1, .L136+4
	ldr	r0, .L136+56
	bl	printf
	mov	r0, #3
	bl	UI
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L136+4
	ldr	r0, .L136+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-24]
	nop
	b	.L118
.L121:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L120:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L123
	b	.L118
.L117:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L124
.L127:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L125
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L126
	mov	r0, #1
	bl	UI
	ldr	r3, .L136+40
	str	r3, [sp, #4]
	ldr	r3, .L136+44
	str	r3, [sp]
	ldr	r3, .L136+48
	ldr	r2, .L136+52
	ldr	r1, .L136+4
	ldr	r0, .L136+56
	bl	printf
	mov	r0, #3
	bl	UI
.L126:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L136+4
	ldr	r0, .L136+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-24]
.L125:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L124:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L127
	b	.L118
.L119:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L128
.L131:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L129
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L130
	mov	r0, #1
	bl	UI
	ldr	r3, .L136+40
	str	r3, [sp, #4]
	ldr	r3, .L136+44
	str	r3, [sp]
	ldr	r3, .L136+48
	ldr	r2, .L136+52
	ldr	r1, .L136+4
	ldr	r0, .L136+56
	bl	printf
	mov	r0, #3
	bl	UI
.L130:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L136+4
	ldr	r0, .L136+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-24]
.L129:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L128:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L131
	nop
.L118:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L132
	mov	r0, #8
	bl	UI
	b	.L135
.L132:
	mov	r0, #4
	bl	UI
.L135:
	nop
	ldr	r3, .L136
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L134
	bl	__stack_chk_fail
.L134:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC58
	.word	.LC10
	.word	.LC12
	.word	.LC56
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC57
	.word	9999
	.word	.LC6
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC38
	.size	search_number, .-search_number
	.section	.rodata
	.align	2
.LC59:
	.ascii	"%-29s5.2. Search - By Colour:%-25s\272\012\000"
	.align	2
.LC60:
	.ascii	"%-5sAll the car colours:%-53s\272\012\000"
	.align	2
.LC61:
	.ascii	"%-10s%-10s\000"
	.align	2
.LC62:
	.ascii	"\012\012(Not case sensitive) > \000"
	.align	2
.LC63:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_colour
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_colour, %function
search_colour:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #76
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L154
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	ip, [fp, #-92]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #3
	orr	r5, r5, r2, lsr #29
	lsl	r4, r2, #3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #3
	orr	r5, r5, r2, lsr #29
	lsl	r4, r2, #3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-64]
	ldr	r2, .L154+4
	ldr	r1, .L154+8
	ldr	r0, .L154+12
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r2, .L154+4
	ldr	r1, .L154+8
	ldr	r0, .L154+16
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L139
.L144:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r0, r2, r3
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #25
	mov	r1, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L140
.L142:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r0, r2, r3
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #25
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	mov	r3, #1
	str	r3, [fp, #-84]
.L141:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L140:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L142
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L143
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L154+4
	ldr	r0, .L154+20
	bl	printf
.L143:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L139:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L144
	ldr	r0, .L154+24
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L154+28
	bl	__isoc99_scanf
	ldr	r0, .L154+32
	bl	system
	sub	r3, fp, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L145
.L146:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L145:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L146
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L147
.L150:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #25
	sub	r1, fp, #60
	ldr	r2, [fp, #-72]
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L148
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L149
	mov	r0, #1
	bl	UI
	ldr	r3, .L154+36
	str	r3, [sp, #4]
	ldr	r3, .L154+40
	str	r3, [sp]
	ldr	r3, .L154+44
	ldr	r2, .L154+48
	ldr	r1, .L154+4
	ldr	r0, .L154+52
	bl	printf
	mov	r0, #3
	bl	UI
.L149:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L154+4
	ldr	r0, .L154+56
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-84]
.L148:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L147:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L150
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L151
	mov	r0, #8
	bl	UI
	b	.L152
.L151:
	mov	r0, #4
	bl	UI
.L152:
	mov	sp, r8
	nop
	ldr	r3, .L154
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L153
	bl	__stack_chk_fail
.L153:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L155:
	.align	2
.L154:
	.word	.LC63
	.word	.LC10
	.word	.LC12
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC25
	.word	.LC6
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC38
	.size	search_colour, .-search_colour
	.section	.rodata
	.align	2
.LC64:
	.ascii	"%-26s5.3. Search - By Manufacturer:%-22s\272\012\000"
	.align	2
.LC65:
	.ascii	"%-5sAll the car manufacturers:%-47s\272\012\000"
	.align	2
.LC66:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_manufacturer
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_manufacturer, %function
search_manufacturer:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #76
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L172
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	ip, [fp, #-92]
	sub	r3, ip, #1
	str	r3, [fp, #-72]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #3
	orr	r5, r5, r2, lsr #29
	lsl	r4, r2, #3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #3
	orr	r5, r5, r2, lsr #29
	lsl	r4, r2, #3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-68]
	ldr	r2, .L172+4
	ldr	r1, .L172+8
	ldr	r0, .L172+12
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r2, .L172+4
	ldr	r1, .L172+8
	ldr	r0, .L172+16
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L157
.L162:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-68]
	add	r0, r2, r3
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L158
.L160:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-68]
	add	r0, r2, r3
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L159
	mov	r3, #1
	str	r3, [fp, #-84]
.L159:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L158:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L160
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L161
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L172+4
	ldr	r0, .L172+20
	bl	printf
.L161:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L157:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L162
	ldr	r0, .L172+24
	bl	printf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L172+28
	bl	__isoc99_scanf
	ldr	r0, .L172+32
	bl	system
	sub	r3, fp, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L163
.L164:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L163:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L164
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L165
.L168:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	r0, r3
	sub	r3, fp, #60
	ldr	r2, [fp, #-64]
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L166
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L167
	mov	r0, #1
	bl	UI
	ldr	r3, .L172+36
	str	r3, [sp, #4]
	ldr	r3, .L172+40
	str	r3, [sp]
	ldr	r3, .L172+44
	ldr	r2, .L172+48
	ldr	r1, .L172+4
	ldr	r0, .L172+52
	bl	printf
	mov	r0, #3
	bl	UI
.L167:
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L172+4
	ldr	r0, .L172+56
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-84]
.L166:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L165:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L168
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L169
	mov	r0, #8
	bl	UI
	b	.L170
.L169:
	mov	r0, #4
	bl	UI
.L170:
	mov	sp, r8
	nop
	ldr	r3, .L172
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L171
	bl	__stack_chk_fail
.L171:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L173:
	.align	2
.L172:
	.word	.LC66
	.word	.LC10
	.word	.LC12
	.word	.LC64
	.word	.LC65
	.word	.LC61
	.word	.LC62
	.word	.LC25
	.word	.LC6
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC38
	.size	search_manufacturer, .-search_manufacturer
	.section	.rodata
	.align	2
.LC67:
	.ascii	"%-28s5.4. Search - By Date:%-28s\272\012\000"
	.align	2
.LC68:
	.ascii	"%-5sAll the car manufacture dates:%-43s\272\012\000"
	.align	2
.LC69:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_date
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_date, %function
search_date:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L203
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r2, .L203+4
	ldr	r1, .L203+8
	ldr	r0, .L203+12
	bl	printf
	mov	r0, #2
	bl	UI
	ldr	r2, .L203+4
	ldr	r1, .L203+8
	ldr	r0, .L203+16
	bl	printf
	mov	r0, #4
	bl	UI
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L175
.L180:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L176
.L178:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #56]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	cmp	r1, r3
	bne	.L177
	mov	r3, #1
	str	r3, [fp, #-28]
.L177:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L176:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L178
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L179
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	mov	r1, r3
	ldr	r0, .L203+20
	bl	printf
.L179:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L175:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L180
.L183:
	ldr	r0, .L203+24
	bl	printf
	sub	r2, fp, #16
	sub	r3, fp, #33
	mov	r1, r3
	ldr	r0, .L203+28
	bl	__isoc99_scanf
	sub	r3, fp, #16
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L181
	ldr	r3, [fp, #-20]
	cmp	r3, #1000
	blt	.L181
	ldr	r3, [fp, #-20]
	ldr	r2, .L203+32
	cmp	r3, r2
	ble	.L182
.L181:
	mov	r0, #6
	bl	UI
.L182:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L183
	ldr	r3, [fp, #-20]
	cmp	r3, #1000
	blt	.L183
	ldr	r3, [fp, #-20]
	ldr	r2, .L203+32
	cmp	r3, r2
	bgt	.L183
	ldr	r0, .L203+36
	bl	system
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L184
	cmp	r3, #62
	bgt	.L185
	cmp	r3, #60
	beq	.L186
	cmp	r3, #61
	bne	.L185
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L187
.L190:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L188
	mov	r0, #1
	bl	UI
	ldr	r3, .L203+40
	str	r3, [sp, #4]
	ldr	r3, .L203+44
	str	r3, [sp]
	ldr	r3, .L203+48
	ldr	r2, .L203+52
	ldr	r1, .L203+4
	ldr	r0, .L203+56
	bl	printf
	mov	r0, #3
	bl	UI
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L203+4
	ldr	r0, .L203+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-28]
	nop
	b	.L185
.L188:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L187:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L190
	b	.L185
.L184:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L191
.L194:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L192
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L193
	mov	r0, #1
	bl	UI
	ldr	r3, .L203+40
	str	r3, [sp, #4]
	ldr	r3, .L203+44
	str	r3, [sp]
	ldr	r3, .L203+48
	ldr	r2, .L203+52
	ldr	r1, .L203+4
	ldr	r0, .L203+56
	bl	printf
	mov	r0, #3
	bl	UI
.L193:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L203+4
	ldr	r0, .L203+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-28]
.L192:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L191:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L194
	b	.L185
.L186:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L195
.L198:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L196
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L197
	mov	r0, #1
	bl	UI
	ldr	r3, .L203+40
	str	r3, [sp, #4]
	ldr	r3, .L203+44
	str	r3, [sp]
	ldr	r3, .L203+48
	ldr	r2, .L203+52
	ldr	r1, .L203+4
	ldr	r0, .L203+56
	bl	printf
	mov	r0, #3
	bl	UI
.L197:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L203+4
	ldr	r0, .L203+60
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-28]
.L196:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L195:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L198
	nop
.L185:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L199
	mov	r0, #8
	bl	UI
	b	.L202
.L199:
	mov	r0, #4
	bl	UI
.L202:
	nop
	ldr	r3, .L203
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L201
	bl	__stack_chk_fail
.L201:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L204:
	.align	2
.L203:
	.word	.LC69
	.word	.LC10
	.word	.LC12
	.word	.LC67
	.word	.LC68
	.word	.LC46
	.word	.LC47
	.word	.LC57
	.word	9999
	.word	.LC6
	.word	.LC35
	.word	.LC36
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC38
	.size	search_date, .-search_date
	.section	.rodata
	.align	2
.LC70:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	search_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_main, %function
search_main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L222
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r1, .L222+4
	ldr	r0, .L222+8
	bl	fopen
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L206
	mov	r0, #7
	bl	UI
	b	.L218
.L206:
	bl	lines
	str	r0, [fp, #-124]
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-120]
	ldr	r0, [fp, #-116]
	bl	fclose
	ldr	r1, .L222+4
	ldr	r0, .L222+8
	bl	fopen
	str	r0, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L208
.L209:
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, r2
	add	r1, r3, #52
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, r2
	add	r3, r3, #56
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L222+12
	ldr	r0, [fp, #-116]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L208:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L209
	ldr	r0, [fp, #-116]
	bl	fclose
.L218:
	bl	search_display_scan
	str	r0, [fp, #-112]
	ldr	r0, .L222+16
	bl	system
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	beq	.L210
	mov	r0, #1
	bl	UI
.L210:
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L211
.L213:
	.word	.L216
	.word	.L215
	.word	.L214
	.word	.L212
.L216:
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	search_number
	b	.L211
.L215:
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	search_colour
	b	.L211
.L214:
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	search_manufacturer
	b	.L211
.L212:
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	search_date
	nop
.L211:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	beq	.L217
	mov	r0, #5
	bl	UI
.L217:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L218
	ldr	r1, .L222+4
	ldr	r0, .L222+8
	bl	fopen
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	beq	.L221
	ldr	r0, [fp, #-120]
	bl	free
	ldr	r0, [fp, #-116]
	bl	fclose
.L221:
	nop
	ldr	r3, .L222
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L220
	bl	__stack_chk_fail
.L220:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L223:
	.align	2
.L222:
	.word	.LC70
	.word	.LC27
	.word	.LC28
	.word	.LC37
	.word	.LC6
	.size	search_main, .-search_main
	.section	.rodata
	.align	2
.LC71:
	.ascii	"w\000"
	.align	2
.LC72:
	.ascii	"a\000"
	.align	2
.LC73:
	.ascii	"\012%d %s %s %d\000"
	.align	2
.LC74:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ args = 68, pretend = 16, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-136]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L248
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r1, .L248+4
	ldr	r0, .L248+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L225
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	beq	.L225
	mov	r0, #7
	bl	UI
	b	.L226
.L225:
	ldr	r1, .L248+4
	ldr	r0, .L248+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L227
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	bne	.L227
	ldr	r1, .L248+12
	ldr	r0, .L248+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r1, [fp, #60]
	ldr	r3, [fp, #64]
	add	r2, fp, #8
	add	r2, r2, #25
	str	r3, [sp, #4]
	add	r3, fp, #8
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	fprintf
	ldr	r0, [fp, #-120]
	bl	fclose
	b	.L226
.L227:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L228
.L229:
	sub	r3, fp, #108
	ldr	r2, [fp, #-120]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L228:
	ldr	r0, [fp, #-120]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L229
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-116]
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	rewind
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	bne	.L230
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r1, .L248+20
	ldr	r0, .L248+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-104]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L231
	ldr	r1, [fp, #-120]
	mov	r0, #10
	bl	fputc
.L231:
	ldr	r1, [fp, #60]
	ldr	r3, [fp, #64]
	add	r2, fp, #8
	add	r2, r2, #25
	str	r3, [sp, #4]
	add	r3, fp, #8
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	fprintf
	b	.L232
.L230:
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L233
.L234:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r1, r3, #52
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r3, r3, #56
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L233:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L234
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r1, .L248+12
	ldr	r0, .L248+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-136]
	cmp	r3, #2
	beq	.L235
	ldr	r3, [fp, #-136]
	cmp	r3, #3
	beq	.L236
	b	.L232
.L235:
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L237
.L240:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #68]
	cmp	r2, r3
	beq	.L238
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L239
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L238
.L239:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L248+24
	ldr	r0, [fp, #-120]
	bl	fprintf
.L238:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L237:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L240
	b	.L232
.L236:
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L241
.L246:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #68]
	cmp	r2, r3
	beq	.L242
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L243
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L244
.L243:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r1, [r3, #52]
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	add	r0, r3, #25
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	mov	ip, r3
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	ldr	r3, [r3, #56]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L248+24
	ldr	r0, [fp, #-120]
	bl	fprintf
	b	.L244
.L242:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L245
	ldr	r1, [fp, #60]
	ldr	r3, [fp, #64]
	add	r2, fp, #8
	add	r2, r2, #25
	str	r3, [sp, #4]
	add	r3, fp, #8
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L248+16
	ldr	r0, [fp, #-120]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L244
.L245:
	ldr	r1, [fp, #60]
	ldr	r3, [fp, #64]
	add	r2, fp, #8
	add	r2, r2, #25
	str	r3, [sp, #4]
	add	r3, fp, #8
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L248+24
	ldr	r0, [fp, #-120]
	bl	fprintf
.L244:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L241:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L246
	nop
.L232:
	ldr	r0, [fp, #-120]
	bl	fclose
.L226:
	nop
	ldr	r3, .L248
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L247
	bl	__stack_chk_fail
.L247:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L249:
	.align	2
.L248:
	.word	.LC74
	.word	.LC27
	.word	.LC28
	.word	.LC71
	.word	.LC37
	.word	.LC72
	.word	.LC73
	.size	update, .-update
	.section	.rodata
	.align	2
.LC75:
	.ascii	"%-32s2. New record:%-32s\272\012\000"
	.align	2
.LC76:
	.ascii	"%-32s3. Delete a record:%-27s\272\012\000"
	.align	2
.LC77:
	.ascii	"%-32s4. Modify a record:%-27s\272\012\000"
	.align	2
.LC78:
	.ascii	"Error: choose 2/3/4, and then update the database.."
	.ascii	".\000"
	.align	2
.LC79:
	.ascii	"Updating Database...\000"
	.align	2
.LC80:
	.ascii	"Terminating...\000"
	.align	2
.LC81:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #200
	ldr	r3, .L280
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-76]
	sub	r3, fp, #68
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L273:
	bl	display_scan
	str	r0, [fp, #-72]
	ldr	r0, .L280+4
	bl	system
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L251
.L253:
	.word	.L258
	.word	.L257
	.word	.L256
	.word	.L255
	.word	.L254
	.word	.L252
.L258:
	bl	print
	mov	r0, #5
	bl	UI
	b	.L251
.L257:
	mov	r0, #1
	bl	UI
	ldr	r2, .L280+8
	ldr	r1, .L280+12
	ldr	r0, .L280+16
	bl	printf
	mov	r0, #4
	bl	UI
	sub	r3, fp, #68
	mov	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	new_record
	mvn	r3, #0
	str	r3, [fp, #-76]
	ldr	r0, .L280+4
	bl	system
	b	.L251
.L256:
	mov	r0, #1
	bl	UI
	ldr	r2, .L280+8
	ldr	r1, .L280+12
	ldr	r0, .L280+20
	bl	printf
	mov	r0, #2
	bl	UI
	bl	bubblesort_scan
	str	r0, [fp, #-76]
	mov	r0, #5
	bl	UI
	b	.L251
.L255:
	mov	r0, #1
	bl	UI
	ldr	r2, .L280+8
	ldr	r1, .L280+12
	ldr	r0, .L280+24
	bl	printf
	mov	r0, #2
	bl	UI
	bl	bubblesort_scan
	str	r0, [fp, #-76]
	sub	r3, fp, #148
	ldr	r2, [fp, #-76]
	mov	r1, #2
	mov	r0, r3
	bl	new_record
	sub	ip, fp, #68
	sub	lr, fp, #148
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, .L280+4
	bl	system
	b	.L251
.L254:
	bl	search_main
	ldr	r0, .L280+4
	bl	system
	b	.L251
.L252:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L259
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L259
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L260
.L261:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L260:
	ldr	r3, [fp, #-80]
	cmp	r3, #93
	ble	.L261
	ldr	r0, .L280+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L262
.L263:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L262:
	ldr	r3, [fp, #-80]
	cmp	r3, #93
	ble	.L263
	ldr	r0, .L280+32
	bl	puts
	b	.L264
.L259:
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L265
	mov	r3, #0
	str	r3, [sp, #48]
	mov	lr, sp
	sub	ip, fp, #56
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #68
	ldm	r3, {r1, r2, r3}
	mov	r0, #1
	bl	update
	b	.L264
.L265:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L266
	ldr	r3, [fp, #-76]
	str	r3, [sp, #48]
	mov	lr, sp
	sub	ip, fp, #56
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #68
	ldm	r3, {r1, r2, r3}
	mov	r0, #2
	bl	update
	b	.L264
.L266:
	ldr	r3, [fp, #-76]
	str	r3, [sp, #48]
	mov	lr, sp
	sub	ip, fp, #56
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #68
	ldm	r3, {r1, r2, r3}
	mov	r0, #3
	bl	update
.L264:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L267
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	beq	.L268
.L267:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L269
.L270:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L269:
	ldr	r3, [fp, #-80]
	cmp	r3, #107
	ble	.L270
	ldr	r0, .L280+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L271
.L272:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L271:
	ldr	r3, [fp, #-80]
	cmp	r3, #111
	ble	.L272
	ldr	r0, .L280+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	mvn	r3, #0
	str	r3, [fp, #-76]
.L268:
	mov	r0, #5
	bl	UI
	nop
.L251:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L273
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L274
.L275:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L274:
	ldr	r3, [fp, #-80]
	cmp	r3, #111
	ble	.L275
	ldr	r0, .L280+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L276
.L277:
	mvn	r0, #79
	bl	putchar
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L276:
	ldr	r3, [fp, #-80]
	cmp	r3, #113
	ble	.L277
	ldr	r0, .L280+32
	bl	puts
	ldr	r0, .L280+44
	bl	system
	mov	r3, #0
	ldr	r2, .L280
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L279
	bl	__stack_chk_fail
.L279:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L281:
	.align	2
.L280:
	.word	.LC81
	.word	.LC6
	.word	.LC10
	.word	.LC12
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC4
	.word	.LC79
	.word	.LC80
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
