	.file	"78214.c"
	.intel_syntax noprefix
	.text
	.globl	first
	.bss
	.align 8
	.type	first, @object
	.size	first, 8
first:
	.zero	8
	.globl	newElement
	.align 8
	.type	newElement, @object
	.size	newElement, 8
newElement:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter name, number and type of airplane: "
.LC1:
	.string	"Name of airplane: "
.LC2:
	.string	"%s"
.LC3:
	.string	"Number of flight: "
.LC4:
	.string	"%d"
.LC5:
	.string	"Type of airplane: "
	.align 8
.LC6:
	.string	"Do you want to continue? (Press f to stop)"
.LC7:
	.string	"f"
	.align 8
.LC8:
	.string	"Input type of airplane to know its name of city and his number race. Or print exit to end: "
.LC9:
	.string	"%d\n"
.LC10:
	.string	"Unknown type of airplane "
	.text
	.globl	main
	.type	main, @function
main:
.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, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -264[rbp], 0
	mov	DWORD PTR -260[rbp], 0
	mov	DWORD PTR -268[rbp], 0
	mov	DWORD PTR -229[rbp], 0
	mov	BYTE PTR -225[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L9:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -224[rbp]
	mov	edx, 100
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	edx, 100
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -229[rbp]
	mov	edx, 5
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	rax, QWORD PTR first[rip]
	test	rax, rax
	jne	.L2
	mov	edi, 216
	call	malloc@PLT
	mov	QWORD PTR first[rip], rax
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR 208[rax], 0
	mov	rax, QWORD PTR first[rip]
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR first[rip]
	lea	rdx, 101[rax]
	lea	rax, -112[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	edx, DWORD PTR -272[rbp]
	mov	rax, QWORD PTR first[rip]
	mov	BYTE PTR 100[rax], dl
	jmp	.L3
.L2:
	mov	edi, 216
	call	malloc@PLT
	mov	QWORD PTR newElement[rip], rax
	mov	rax, QWORD PTR newElement[rip]
	mov	rdx, rax
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR newElement[rip]
	lea	rdx, 101[rax]
	lea	rax, -112[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	edx, DWORD PTR -272[rbp]
	mov	rax, QWORD PTR newElement[rip]
	mov	BYTE PTR 100[rax], dl
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR newElement[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR first[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L6
	mov	rax, QWORD PTR newElement[rip]
	mov	rdx, QWORD PTR first[rip]
	mov	QWORD PTR 208[rax], rdx
	mov	rax, QWORD PTR newElement[rip]
	mov	QWORD PTR first[rip], rax
	jmp	.L3
.L8:
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 208[rax]
	mov	QWORD PTR -256[rbp], rax
.L6:
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 208[rax]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR newElement[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 208[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	js	.L8
.L7:
	mov	rax, QWORD PTR newElement[rip]
	mov	rdx, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR 208[rdx]
	mov	QWORD PTR 208[rax], rdx
	mov	rdx, QWORD PTR newElement[rip]
	mov	rax, QWORD PTR -256[rbp]
	mov	QWORD PTR 208[rax], rdx
.L3:
	lea	rax, -229[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -112[rbp]
	mov	edx, 100
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	scanf_s@PLT
	jmp	.L10
.L13:
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, 101[rax]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	add	DWORD PTR -268[rbp], 1
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR 100[rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	cmp	DWORD PTR -268[rbp], 0
	jne	.L12
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L12:
	mov	rax, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR 208[rax]
	mov	QWORD PTR -248[rbp], rax
.L10:
	cmp	QWORD PTR -248[rbp], 0
	jne	.L13
	jmp	.L14
.L15:
	mov	rax, QWORD PTR first[rip]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR first[rip]
	mov	rax, QWORD PTR 208[rax]
	mov	QWORD PTR first[rip], rax
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	free@PLT
.L14:
	mov	rax, QWORD PTR first[rip]
	test	rax, rax
	jne	.L15
	mov	QWORD PTR newElement[rip], 0
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"78214.c"
	.text
	.global	first
	.bss
	.align	2
	.type	first, %object
	.size	first, 4
first:
	.space	4
	.comm	newElement,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter name, number and type of airplane: \000"
	.align	2
.LC1:
	.ascii	"Name of airplane: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Number of flight: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Type of airplane: \000"
	.align	2
.LC6:
	.ascii	"Do you want to continue? (Press f to stop)\000"
	.align	2
.LC7:
	.ascii	"f\000"
	.align	2
.LC8:
	.ascii	"Input type of airplane to know its name of city and"
	.ascii	" his number race. Or print exit to end: \000"
	.align	2
.LC9:
	.ascii	"%d\012\000"
	.align	2
.LC10:
	.ascii	"Unknown type of airplane \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-240]
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
	strb	r3, [fp, #-212]
	ldr	r0, .L18+4
	bl	puts
.L9:
	ldr	r0, .L18+8
	bl	printf
	sub	r3, fp, #208
	mov	r2, #100
	mov	r1, r3
	ldr	r0, .L18+12
	bl	scanf_s
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #244
	mov	r1, r3
	ldr	r0, .L18+20
	bl	scanf_s
	ldr	r0, .L18+24
	bl	printf
	sub	r3, fp, #108
	mov	r2, #100
	mov	r1, r3
	ldr	r0, .L18+12
	bl	scanf_s
	ldr	r0, .L18+28
	bl	puts
	sub	r3, fp, #216
	mov	r2, #5
	mov	r1, r3
	ldr	r0, .L18+12
	bl	scanf_s
	ldr	r3, .L18+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r0, #208
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+32
	str	r2, [r3]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #204]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, .L18+32
	ldr	r3, [r3]
	add	r3, r3, #101
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-244]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	and	r2, r2, #255
	strb	r2, [r3, #100]
	b	.L3
.L2:
	mov	r0, #208
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+36
	str	r2, [r3]
	ldr	r3, .L18+36
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, .L18+36
	ldr	r3, [r3]
	add	r3, r3, #101
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-244]
	ldr	r3, .L18+36
	ldr	r3, [r3]
	and	r2, r2, #255
	strb	r2, [r3, #100]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	str	r3, [fp, #-236]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L18+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L6
	ldr	r3, .L18+36
	ldr	r3, [r3]
	ldr	r2, .L18+32
	ldr	r2, [r2]
	str	r2, [r3, #204]
	ldr	r3, .L18+36
	ldr	r3, [r3]
	ldr	r2, .L18+32
	str	r3, [r2]
	b	.L3
.L8:
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #204]
	str	r3, [fp, #-236]
.L6:
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #204]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #204]
	mov	r2, r3
	ldr	r3, .L18+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	blt	.L8
.L7:
	ldr	r3, .L18+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-236]
	ldr	r2, [r2, #204]
	str	r2, [r3, #204]
	ldr	r3, .L18+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-236]
	str	r2, [r3, #204]
.L3:
	sub	r3, fp, #216
	ldr	r1, .L18+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L18+32
	ldr	r3, [r3]
	str	r3, [fp, #-232]
	ldr	r0, .L18+44
	bl	puts
	sub	r3, fp, #108
	mov	r2, #100
	mov	r1, r3
	ldr	r0, .L18+12
	bl	scanf_s
	b	.L10
.L13:
	ldr	r3, [fp, #-232]
	add	r2, r3, #101
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-232]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-232]
	ldrb	r3, [r3, #100]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L18+48
	bl	printf
.L11:
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L18+52
	bl	puts
.L12:
	ldr	r3, [fp, #-232]
	ldr	r3, [r3, #204]
	str	r3, [fp, #-232]
.L10:
	ldr	r3, [fp, #-232]
	cmp	r3, #0
	bne	.L13
	b	.L14
.L15:
	ldr	r3, .L18+32
	ldr	r3, [r3]
	str	r3, [fp, #-220]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	ldr	r3, [r3, #204]
	ldr	r2, .L18+32
	str	r3, [r2]
	ldr	r0, [fp, #-220]
	bl	free
.L14:
	ldr	r3, .L18+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L18+36
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	first
	.word	newElement
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
