	.file	"882053.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"**Welcome to Simple Airline Seat Reservations System**\n"
	.align 8
.LC1:
	.string	"Choose 1 for First Class and 2 for Economic class\t"
.LC2:
	.string	"%i"
.LC3:
	.string	"\nFirst class"
	.align 8
.LC4:
	.string	"Seats available are 1,2,3,4,5."
.LC5:
	.string	"Pick a seat:\n"
.LC6:
	.string	"\n\nSeat taken.\n"
.LC7:
	.string	"--------------------------"
.LC8:
	.string	"Class: First class"
.LC9:
	.string	"Seat no : %i\n"
.LC10:
	.string	"--------------------------\n"
	.align 8
.LC11:
	.string	"\nWrong number!  No seat for you!\n"
.LC12:
	.string	"\nEconomical class"
	.align 8
.LC13:
	.string	"Seats available are 6,7,8,9,10."
.LC14:
	.string	"Class: Economical class"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L2
.L21:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, 1
	je	.L3
	cmp	eax, 2
	je	.L4
	jmp	.L13
.L3:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L10:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	DWORD PTR -56[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	edx, eax
	jne	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L8
.L7:
	add	DWORD PTR -56[rbp], 1
.L6:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L9
.L8:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L10
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 5
	jg	.L11
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L13
.L11:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L13
.L4:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L18:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	DWORD PTR -56[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	edx, eax
	jne	.L15
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L16
.L15:
	add	DWORD PTR -56[rbp], 1
.L14:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L17
.L16:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L18
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 5
	jle	.L19
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L24
.L19:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L24:
	nop
.L13:
	add	DWORD PTR -52[rbp], 1
.L2:
	cmp	DWORD PTR -52[rbp], 9
	jle	.L21
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"882053.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"**Welcome to Simple Airline Seat Reservations Syste"
	.ascii	"m**\012\000"
	.align	2
.LC1:
	.ascii	"Choose 1 for First Class and 2 for Economic class\011"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"%i\000"
	.align	2
.LC3:
	.ascii	"\012First class\000"
	.align	2
.LC4:
	.ascii	"Seats available are 1,2,3,4,5.\000"
	.align	2
.LC5:
	.ascii	"Pick a seat:\012\000"
	.align	2
.LC6:
	.ascii	"\012\012Seat taken.\012\000"
	.align	2
.LC7:
	.ascii	"--------------------------\000"
	.align	2
.LC8:
	.ascii	"Class: First class\000"
	.align	2
.LC9:
	.ascii	"Seat no : %i\012\000"
	.align	2
.LC10:
	.ascii	"--------------------------\012\000"
	.align	2
.LC11:
	.ascii	"\012Wrong number!  No seat for you!\012\000"
	.align	2
.LC12:
	.ascii	"\012Economical class\000"
	.align	2
.LC13:
	.ascii	"Seats available are 6,7,8,9,10.\000"
	.align	2
.LC14:
	.ascii	"Class: Economical class\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L25+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L2
.L21:
	ldr	r0, .L25+8
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L25+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	beq	.L3
	cmp	r3, #2
	beq	.L4
	b	.L13
.L3:
	ldr	r0, .L25+16
	bl	puts
	ldr	r0, .L25+20
	bl	puts
.L10:
	ldr	r0, .L25+24
	bl	puts
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L25+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L6
.L9:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	bne	.L7
	ldr	r0, .L25+28
	bl	puts
	b	.L8
.L7:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L6:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L9
.L8:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bne	.L10
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #5
	bgt	.L11
	mov	r0, #10
	bl	putchar
	ldr	r0, .L25+32
	bl	puts
	ldr	r0, .L25+36
	bl	puts
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, .L25+40
	bl	printf
	ldr	r0, .L25+44
	bl	puts
	b	.L13
.L11:
	ldr	r0, .L25+48
	bl	puts
	b	.L13
.L4:
	ldr	r0, .L25+52
	bl	puts
	ldr	r0, .L25+56
	bl	puts
.L18:
	ldr	r0, .L25+24
	bl	puts
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L25+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L14
.L17:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	bne	.L15
	ldr	r0, .L25+28
	bl	puts
	b	.L16
.L15:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L14:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L17
.L16:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #5
	ble	.L19
	mov	r0, #10
	bl	putchar
	ldr	r0, .L25+32
	bl	puts
	ldr	r0, .L25+60
	bl	puts
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, .L25+40
	bl	printf
	ldr	r0, .L25+44
	bl	puts
	b	.L24
.L19:
	ldr	r0, .L25+48
	bl	puts
.L24:
	nop
.L13:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L2:
	ldr	r3, [fp, #-52]
	cmp	r3, #9
	ble	.L21
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
