	.file	"100141449.c"
	.intel_syntax noprefix
	.text
	.globl	alphabet
	.data
	.align 16
	.type	alphabet, @object
	.size	alphabet, 26
alphabet:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	.section	.rodata
.LC0:
	.string	"   "
.LC1:
	.string	"| | "
.LC2:
	.string	"%c "
.LC3:
	.string	"%d  "
.LC4:
	.string	"%d "
.LC5:
	.string	"- "
.LC6:
	.string	"X "
.LC7:
	.string	"+ "
	.text
	.globl	printSeats
	.type	printSeats, @function
printSeats:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -16[rbp], 0
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, alphabet[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L4:
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L5
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L15:
	cmp	DWORD PTR -8[rbp], 8
	jg	.L7
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L11
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L12
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 2
	jne	.L13
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 1
.L13:
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L14
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L15
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printSeats, .-printSeats
	.section	.rodata
	.align 8
.LC10:
	.string	"\nNo available seats for the requested reservation!\n"
.LC14:
	.string	"Reserved seats: %d%c"
.LC15:
	.string	"Reserved seats: "
.LC16:
	.string	"%d%c "
	.text
	.globl	engine
	.type	engine, @function
engine:
.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, 576
	mov	QWORD PTR -552[rbp], rdi
	mov	DWORD PTR -556[rbp], esi
	mov	DWORD PTR -560[rbp], edx
	mov	DWORD PTR -564[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -536[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -532[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -528[rbp], xmm0
	cmp	DWORD PTR -564[rbp], 1
	jne	.L17
	mov	DWORD PTR -536[rbp], -1
	mov	DWORD PTR -524[rbp], 0
	jmp	.L18
.L22:
	mov	DWORD PTR -520[rbp], 0
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -520[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L20
	mov	DWORD PTR -524[rbp], 10000
	mov	DWORD PTR -520[rbp], 10000
	mov	DWORD PTR -536[rbp], 0
.L20:
	add	DWORD PTR -520[rbp], 1
.L19:
	mov	eax, DWORD PTR -520[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L21
	add	DWORD PTR -524[rbp], 1
.L18:
	mov	eax, DWORD PTR -524[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L22
	cmp	DWORD PTR -536[rbp], -1
	jne	.L23
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L96
.L23:
	mov	DWORD PTR -516[rbp], 0
	jmp	.L25
.L37:
	mov	DWORD PTR -512[rbp], 0
	jmp	.L26
.L36:
	mov	eax, DWORD PTR -516[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -512[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L27
	mov	DWORD PTR -508[rbp], 0
	jmp	.L28
.L34:
	mov	DWORD PTR -504[rbp], 0
	jmp	.L29
.L33:
	mov	eax, DWORD PTR -508[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -504[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L30
	mov	eax, DWORD PTR -516[rbp]
	sub	eax, DWORD PTR -508[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -512[rbp]
	sub	eax, DWORD PTR -504[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -420[rbp], xmm0
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -420[rbp]
	jp	.L31
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -420[rbp]
	jne	.L31
	movss	xmm1, DWORD PTR -532[rbp]
	pxor	xmm0, xmm0
	addss	xmm0, xmm1
	movss	DWORD PTR -532[rbp], xmm0
	jmp	.L30
.L31:
	movss	xmm0, DWORD PTR .LC12[rip]
	divss	xmm0, DWORD PTR -420[rbp]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR .LC13[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR .LC13[rip]
	subsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -532[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -532[rbp], xmm0
.L30:
	add	DWORD PTR -504[rbp], 1
.L29:
	mov	eax, DWORD PTR -504[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L33
	add	DWORD PTR -508[rbp], 1
.L28:
	mov	eax, DWORD PTR -508[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L34
	movss	xmm0, DWORD PTR -532[rbp]
	comiss	xmm0, DWORD PTR -528[rbp]
	jbe	.L27
	movss	xmm0, DWORD PTR -532[rbp]
	movss	DWORD PTR -528[rbp], xmm0
	mov	eax, DWORD PTR -516[rbp]
	mov	DWORD PTR -544[rbp], eax
	mov	eax, DWORD PTR -512[rbp]
	mov	DWORD PTR -540[rbp], eax
.L27:
	pxor	xmm0, xmm0
	movss	DWORD PTR -532[rbp], xmm0
	add	DWORD PTR -512[rbp], 1
.L26:
	mov	eax, DWORD PTR -512[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L36
	add	DWORD PTR -516[rbp], 1
.L25:
	mov	eax, DWORD PTR -516[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L37
	mov	DWORD PTR -536[rbp], 0
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -528[rbp]
	jp	.L38
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -528[rbp]
	jne	.L38
	mov	DWORD PTR -500[rbp], 0
	mov	DWORD PTR -500[rbp], 0
	jmp	.L40
.L47:
	mov	DWORD PTR -496[rbp], 0
	jmp	.L41
.L46:
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 2
	mov	DWORD PTR -492[rbp], 0
	jmp	.L43
.L45:
	mov	rax, QWORD PTR -552[rbp]
	mov	edx, DWORD PTR -492[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	je	.L44
	add	DWORD PTR -536[rbp], 1
.L44:
	add	DWORD PTR -492[rbp], 1
.L43:
	mov	eax, DWORD PTR -492[rbp]
	cmp	eax, DWORD PTR -496[rbp]
	jl	.L45
	add	DWORD PTR -500[rbp], 10000
	add	DWORD PTR -496[rbp], 10000
.L42:
	add	DWORD PTR -496[rbp], 1
.L41:
	mov	eax, DWORD PTR -496[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L46
	add	DWORD PTR -500[rbp], 1
.L40:
	mov	eax, DWORD PTR -500[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L47
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	lea	rdx, alphabet[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edx, DWORD PTR -500[rbp]
	lea	ecx, -10000[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L38:
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 2
	mov	DWORD PTR -488[rbp], 0
	jmp	.L49
.L51:
	mov	rax, QWORD PTR -552[rbp]
	mov	edx, DWORD PTR -488[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	je	.L50
	add	DWORD PTR -536[rbp], 1
.L50:
	add	DWORD PTR -488[rbp], 1
.L49:
	mov	eax, DWORD PTR -488[rbp]
	cmp	eax, DWORD PTR -540[rbp]
	jl	.L51
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	lea	rdx, alphabet[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edx, DWORD PTR -544[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -560[rbp]
	mov	ecx, DWORD PTR -556[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	printSeats
	jmp	.L96
.L17:
	mov	DWORD PTR -480[rbp], 0
	mov	DWORD PTR -476[rbp], 0
	jmp	.L52
.L61:
	mov	DWORD PTR -472[rbp], 0
	jmp	.L53
.L60:
	mov	eax, DWORD PTR -476[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L54
	mov	DWORD PTR -484[rbp], 0
	mov	DWORD PTR -468[rbp], 0
	jmp	.L55
.L59:
	mov	eax, DWORD PTR -476[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -472[rbp]
	mov	eax, DWORD PTR -468[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L56
	add	DWORD PTR -484[rbp], 1
	jmp	.L57
.L56:
	mov	eax, DWORD PTR -476[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -472[rbp]
	mov	eax, DWORD PTR -468[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	je	.L95
.L57:
	add	DWORD PTR -468[rbp], 1
.L55:
	mov	eax, DWORD PTR -560[rbp]
	sub	eax, DWORD PTR -472[rbp]
	cmp	DWORD PTR -468[rbp], eax
	jl	.L59
	jmp	.L58
.L95:
	nop
.L58:
	mov	eax, DWORD PTR -484[rbp]
	cmp	eax, DWORD PTR -564[rbp]
	jl	.L54
	mov	eax, DWORD PTR -476[rbp]
	imul	edx, eax, 100
	mov	eax, DWORD PTR -472[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -480[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -480[rbp], 1
.L54:
	add	DWORD PTR -472[rbp], 1
.L53:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L60
	add	DWORD PTR -476[rbp], 1
.L52:
	mov	eax, DWORD PTR -476[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L61
	cmp	DWORD PTR -480[rbp], 0
	jne	.L62
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L96
.L62:
	mov	DWORD PTR -464[rbp], 9999
	mov	DWORD PTR -460[rbp], 0
	jmp	.L64
.L80:
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -432[rbp], eax
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -428[rbp], edx
	mov	edx, DWORD PTR -428[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -428[rbp], eax
	mov	DWORD PTR -456[rbp], 0
	mov	DWORD PTR -452[rbp], 0
	jmp	.L65
.L75:
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -428[rbp]
	mov	eax, DWORD PTR -452[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, -1
	jne	.L66
	add	DWORD PTR -456[rbp], 1
	jmp	.L67
.L66:
	mov	DWORD PTR -448[rbp], 0
	jmp	.L68
.L74:
	mov	DWORD PTR -444[rbp], 0
	jmp	.L69
.L73:
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L70
	mov	eax, DWORD PTR -432[rbp]
	sub	eax, DWORD PTR -448[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	edx, DWORD PTR -428[rbp]
	mov	eax, DWORD PTR -452[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -444[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -424[rbp], xmm0
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -424[rbp]
	jp	.L71
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -424[rbp]
	jne	.L71
	movss	xmm1, DWORD PTR -532[rbp]
	pxor	xmm0, xmm0
	addss	xmm0, xmm1
	movss	DWORD PTR -532[rbp], xmm0
	jmp	.L70
.L71:
	movss	xmm0, DWORD PTR .LC12[rip]
	divss	xmm0, DWORD PTR -424[rbp]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR .LC13[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR .LC13[rip]
	subsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -532[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -532[rbp], xmm0
.L70:
	add	DWORD PTR -444[rbp], 1
.L69:
	mov	eax, DWORD PTR -444[rbp]
	cmp	eax, DWORD PTR -560[rbp]
	jl	.L73
	add	DWORD PTR -448[rbp], 1
.L68:
	mov	eax, DWORD PTR -448[rbp]
	cmp	eax, DWORD PTR -556[rbp]
	jl	.L74
.L67:
	add	DWORD PTR -452[rbp], 1
.L65:
	mov	edx, DWORD PTR -564[rbp]
	mov	eax, DWORD PTR -456[rbp]
	add	eax, edx
	cmp	DWORD PTR -452[rbp], eax
	jl	.L75
	movss	xmm0, DWORD PTR -532[rbp]
	comiss	xmm0, DWORD PTR -528[rbp]
	jbe	.L94
	mov	eax, DWORD PTR -432[rbp]
	mov	DWORD PTR -544[rbp], eax
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -540[rbp], eax
	mov	eax, DWORD PTR -456[rbp]
	mov	DWORD PTR -464[rbp], eax
	movss	xmm0, DWORD PTR -532[rbp]
	movss	DWORD PTR -528[rbp], xmm0
	jmp	.L78
.L94:
	movss	xmm0, DWORD PTR -528[rbp]
	ucomiss	xmm0, DWORD PTR -532[rbp]
	jp	.L78
	movss	xmm0, DWORD PTR -528[rbp]
	ucomiss	xmm0, DWORD PTR -532[rbp]
	jne	.L78
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, DWORD PTR -456[rbp]
	jle	.L78
	mov	eax, DWORD PTR -432[rbp]
	mov	DWORD PTR -544[rbp], eax
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -540[rbp], eax
	mov	eax, DWORD PTR -456[rbp]
	mov	DWORD PTR -464[rbp], eax
	movss	xmm0, DWORD PTR -532[rbp]
	movss	DWORD PTR -528[rbp], xmm0
.L78:
	pxor	xmm0, xmm0
	movss	DWORD PTR -532[rbp], xmm0
	add	DWORD PTR -460[rbp], 1
.L64:
	mov	eax, DWORD PTR -460[rbp]
	cmp	eax, DWORD PTR -480[rbp]
	jl	.L80
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -440[rbp], 0
	jmp	.L81
.L86:
	mov	DWORD PTR -536[rbp], 0
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -540[rbp]
	mov	eax, DWORD PTR -440[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, -1
	je	.L82
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rdx, rax, 396
	mov	rax, QWORD PTR -552[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -540[rbp]
	mov	eax, DWORD PTR -440[rbp]
	add	eax, ecx
	cdqe
	mov	DWORD PTR [rdx+rax*4], 2
	mov	DWORD PTR -436[rbp], 0
	jmp	.L83
.L85:
	mov	rax, QWORD PTR -552[rbp]
	mov	edx, DWORD PTR -436[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	je	.L84
	add	DWORD PTR -536[rbp], 1
.L84:
	add	DWORD PTR -436[rbp], 1
.L83:
	mov	edx, DWORD PTR -540[rbp]
	mov	eax, DWORD PTR -440[rbp]
	add	eax, edx
	cmp	DWORD PTR -436[rbp], eax
	jl	.L85
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	lea	rdx, alphabet[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edx, DWORD PTR -544[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L82:
	add	DWORD PTR -440[rbp], 1
.L81:
	mov	edx, DWORD PTR -564[rbp]
	mov	eax, DWORD PTR -464[rbp]
	add	eax, edx
	cmp	DWORD PTR -440[rbp], eax
	jl	.L86
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -560[rbp]
	mov	ecx, DWORD PTR -556[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	printSeats
.L96:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	engine, .-engine
	.section	.rodata
.LC17:
	.string	"Number of rows: "
.LC18:
	.string	"%d"
.LC19:
	.string	"Number of seats per row: "
.LC20:
	.string	"Number of aisles: "
.LC21:
	.string	"Add aisle %d after seat: "
	.align 8
.LC22:
	.string	"The number of people in the reservation\n (0: print current reservations, -1: exit): "
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -36864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -39288[rbp], 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -39308[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -39304[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -39300[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -39284[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -39284[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -39264[rbp]
	mov	eax, DWORD PTR -39284[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -39284[rbp], 1
.L98:
	mov	eax, DWORD PTR -39300[rbp]
	cmp	DWORD PTR -39284[rbp], eax
	jl	.L99
	mov	DWORD PTR -39280[rbp], 0
	jmp	.L100
.L109:
	mov	DWORD PTR -39288[rbp], 0
	mov	DWORD PTR -39276[rbp], 0
	jmp	.L101
.L106:
	cmp	DWORD PTR -39276[rbp], 0
	jne	.L102
	mov	eax, DWORD PTR -39276[rbp]
	cdqe
	mov	eax, DWORD PTR -39264[rbp+rax*4]
	mov	DWORD PTR -39292[rbp], eax
	jmp	.L103
.L102:
	mov	eax, DWORD PTR -39276[rbp]
	cdqe
	mov	edx, DWORD PTR -39264[rbp+rax*4]
	mov	eax, DWORD PTR -39276[rbp]
	sub	eax, 1
	cdqe
	mov	ecx, DWORD PTR -39264[rbp+rax*4]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -39292[rbp], eax
.L103:
	mov	eax, DWORD PTR -39288[rbp]
	mov	DWORD PTR -39272[rbp], eax
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -39272[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -39280[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -39216[rbp+rax*4], 0
	add	DWORD PTR -39272[rbp], 1
.L104:
	mov	edx, DWORD PTR -39292[rbp]
	mov	eax, DWORD PTR -39288[rbp]
	add	eax, edx
	cmp	DWORD PTR -39272[rbp], eax
	jl	.L105
	mov	eax, DWORD PTR -39292[rbp]
	add	DWORD PTR -39288[rbp], eax
	mov	eax, DWORD PTR -39288[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -39280[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -39216[rbp+rax*4], -1
	add	DWORD PTR -39288[rbp], 1
	add	DWORD PTR -39276[rbp], 1
.L101:
	mov	eax, DWORD PTR -39300[rbp]
	cmp	DWORD PTR -39276[rbp], eax
	jl	.L106
	mov	eax, DWORD PTR -39288[rbp]
	mov	DWORD PTR -39268[rbp], eax
	jmp	.L107
.L108:
	mov	eax, DWORD PTR -39268[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -39280[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -39216[rbp+rax*4], 0
	add	DWORD PTR -39288[rbp], 1
	add	DWORD PTR -39268[rbp], 1
.L107:
	mov	edx, DWORD PTR -39304[rbp]
	mov	eax, DWORD PTR -39300[rbp]
	add	eax, edx
	cmp	DWORD PTR -39268[rbp], eax
	jl	.L108
	add	DWORD PTR -39280[rbp], 1
.L100:
	mov	eax, DWORD PTR -39308[rbp]
	cmp	DWORD PTR -39280[rbp], eax
	jl	.L109
	mov	ecx, DWORD PTR -39308[rbp]
	mov	edx, DWORD PTR -39288[rbp]
	lea	rax, -39216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	printSeats
.L114:
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -39296[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -39296[rbp]
	cmp	eax, -1
	jne	.L110
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L115
	jmp	.L116
.L110:
	mov	eax, DWORD PTR -39296[rbp]
	test	eax, eax
	jne	.L112
	mov	ecx, DWORD PTR -39308[rbp]
	mov	edx, DWORD PTR -39288[rbp]
	lea	rax, -39216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	printSeats
	jmp	.L114
.L112:
	mov	ecx, DWORD PTR -39296[rbp]
	mov	esi, DWORD PTR -39308[rbp]
	mov	edx, DWORD PTR -39288[rbp]
	lea	rax, -39216[rbp]
	mov	rdi, rax
	call	engine
	jmp	.L114
.L116:
	call	__stack_chk_fail@PLT
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC9:
	.long	-525502228
	.align 8
.LC11:
	.long	0
	.long	1073741824
	.align 4
.LC12:
	.long	1065353216
	.align 8
.LC13:
	.long	0
	.long	1079574528
	.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	"100141449.c"
	.text
	.global	alphabet
	.data
	.align	2
	.type	alphabet, %object
	.size	alphabet, 26
alphabet:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"   \000"
	.align	2
.LC1:
	.ascii	"| | \000"
	.align	2
.LC2:
	.ascii	"%c \000"
	.align	2
.LC3:
	.ascii	"%d  \000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.ascii	"- \000"
	.align	2
.LC6:
	.ascii	"X \000"
	.align	2
.LC7:
	.ascii	"+ \000"
	.text
	.align	2
	.global	printSeats
	.syntax unified
	.arm
	.fpu softvfp
	.type	printSeats, %function
printSeats:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r0, #10
	bl	putchar
	ldr	r0, .L16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L16+4
	bl	printf
	b	.L4
.L3:
	ldr	r2, .L16+8
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L5
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L15:
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	bgt	.L7
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+16
	bl	printf
	b	.L8
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+20
	bl	printf
.L8:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L14:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L16+4
	bl	printf
.L10:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L16+24
	bl	printf
.L11:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L12
	ldr	r0, .L16+28
	bl	printf
.L12:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #2
	bne	.L13
	ldr	r0, .L16+32
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L14
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L15
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	alphabet
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	printSeats, .-printSeats
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012No available seats for the requested reservatio"
	.ascii	"n!\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.global	__aeabi_fcmpeq
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_fcmpgt
	.align	2
.LC9:
	.ascii	"Reserved seats: %d%c\000"
	.global	__aeabi_fcmplt
	.align	2
.LC10:
	.ascii	"Reserved seats: \000"
	.align	2
.LC11:
	.ascii	"%d%c \000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	engine
	.syntax unified
	.arm
	.fpu softvfp
	.type	engine, %function
engine:
	@ args = 0, pretend = 0, frame = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #544
	str	r0, [fp, #-544]
	str	r1, [fp, #-548]
	str	r2, [fp, #-552]
	str	r3, [fp, #-556]
	ldr	r3, .L102
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-532]
	mov	r3, #0
	str	r3, [fp, #-528]	@ float
	ldr	r3, .L102+4
	str	r3, [fp, #-524]	@ float
	ldr	r3, [fp, #-556]
	cmp	r3, #1
	bne	.L19
	mvn	r3, #0
	str	r3, [fp, #-532]
	mov	r3, #0
	str	r3, [fp, #-520]
	b	.L20
.L24:
	mov	r3, #0
	str	r3, [fp, #-516]
	b	.L21
.L23:
	ldr	r2, [fp, #-520]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-516]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L102+8
	str	r3, [fp, #-520]
	ldr	r3, .L102+8
	str	r3, [fp, #-516]
	mov	r3, #0
	str	r3, [fp, #-532]
.L22:
	ldr	r3, [fp, #-516]
	add	r3, r3, #1
	str	r3, [fp, #-516]
.L21:
	ldr	r2, [fp, #-516]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-520]
	add	r3, r3, #1
	str	r3, [fp, #-520]
.L20:
	ldr	r2, [fp, #-520]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-532]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L102+12
	bl	puts
	b	.L101
.L25:
	mov	r3, #0
	str	r3, [fp, #-512]
	b	.L27
.L39:
	mov	r3, #0
	str	r3, [fp, #-508]
	b	.L28
.L38:
	ldr	r2, [fp, #-512]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-508]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L29
	mov	r3, #0
	str	r3, [fp, #-504]
	b	.L30
.L36:
	mov	r3, #0
	str	r3, [fp, #-500]
	b	.L31
.L35:
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-500]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L32
	ldr	r2, [fp, #-512]
	ldr	r3, [fp, #-504]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-508]
	ldr	r3, [fp, #-500]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-416]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-416]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	mov	r1, #0
	ldr	r0, [fp, #-528]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-528]	@ float
	b	.L32
.L96:
	ldr	r1, [fp, #-416]	@ float
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L102+16
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L102+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-528]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-528]	@ float
.L32:
	ldr	r3, [fp, #-500]
	add	r3, r3, #1
	str	r3, [fp, #-500]
.L31:
	ldr	r2, [fp, #-500]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-504]
	add	r3, r3, #1
	str	r3, [fp, #-504]
.L30:
	ldr	r2, [fp, #-504]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L36
	ldr	r1, [fp, #-524]	@ float
	ldr	r0, [fp, #-528]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-528]	@ float
	str	r3, [fp, #-524]	@ float
	ldr	r3, [fp, #-512]
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-508]
	str	r3, [fp, #-536]
.L29:
	mov	r3, #0
	str	r3, [fp, #-528]	@ float
	ldr	r3, [fp, #-508]
	add	r3, r3, #1
	str	r3, [fp, #-508]
.L28:
	ldr	r2, [fp, #-508]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-512]
	add	r3, r3, #1
	str	r3, [fp, #-512]
.L27:
	ldr	r2, [fp, #-512]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L39
	mov	r3, #0
	str	r3, [fp, #-532]
	mov	r1, #0
	ldr	r0, [fp, #-524]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L97
	mov	r3, #0
	str	r3, [fp, #-496]
	mov	r3, #0
	str	r3, [fp, #-496]
	b	.L42
.L49:
	mov	r3, #0
	str	r3, [fp, #-492]
	b	.L43
.L48:
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-492]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L44
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-492]
	mov	r1, #2
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L45
.L47:
	ldr	r3, [fp, #-544]
	ldr	r2, [fp, #-488]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L46
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
.L46:
	ldr	r3, [fp, #-488]
	add	r3, r3, #1
	str	r3, [fp, #-488]
.L45:
	ldr	r2, [fp, #-488]
	ldr	r3, [fp, #-492]
	cmp	r2, r3
	blt	.L47
	ldr	r3, [fp, #-496]
	add	r3, r3, #9984
	add	r3, r3, #16
	str	r3, [fp, #-496]
	ldr	r3, [fp, #-492]
	add	r3, r3, #9984
	add	r3, r3, #16
	str	r3, [fp, #-492]
.L44:
	ldr	r3, [fp, #-492]
	add	r3, r3, #1
	str	r3, [fp, #-492]
.L43:
	ldr	r2, [fp, #-492]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-496]
	add	r3, r3, #1
	str	r3, [fp, #-496]
.L42:
	ldr	r2, [fp, #-496]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-496]
	sub	r3, r3, #9984
	sub	r3, r3, #16
	ldr	r1, .L102+20
	ldr	r2, [fp, #-532]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L102+24
	bl	printf
	b	.L50
.L97:
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-536]
	mov	r1, #2
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-484]
	b	.L51
.L53:
	ldr	r3, [fp, #-544]
	ldr	r2, [fp, #-484]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L52
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
.L52:
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-484]
.L51:
	ldr	r2, [fp, #-484]
	ldr	r3, [fp, #-536]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-540]
	add	r1, r3, #1
	ldr	r2, .L102+20
	ldr	r3, [fp, #-532]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L102+24
	bl	printf
.L50:
	mov	r0, #10
	bl	putchar
	ldr	r2, [fp, #-552]
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-544]
	bl	printSeats
	b	.L101
.L19:
	mov	r3, #0
	str	r3, [fp, #-476]
	mov	r3, #0
	str	r3, [fp, #-472]
	b	.L54
.L63:
	mov	r3, #0
	str	r3, [fp, #-468]
	b	.L55
.L62:
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-468]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-480]
	mov	r3, #0
	str	r3, [fp, #-464]
	b	.L57
.L61:
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r1, [fp, #-468]
	ldr	r2, [fp, #-464]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L58
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
	b	.L59
.L58:
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r1, [fp, #-468]
	ldr	r2, [fp, #-464]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	beq	.L100
.L59:
	ldr	r3, [fp, #-464]
	add	r3, r3, #1
	str	r3, [fp, #-464]
.L57:
	ldr	r2, [fp, #-552]
	ldr	r3, [fp, #-468]
	sub	r3, r2, r3
	ldr	r2, [fp, #-464]
	cmp	r2, r3
	blt	.L61
	b	.L60
.L100:
	nop
.L60:
	ldr	r2, [fp, #-480]
	ldr	r3, [fp, #-556]
	cmp	r2, r3
	blt	.L56
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-468]
	add	r2, r2, r3
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-400]
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L56:
	ldr	r3, [fp, #-468]
	add	r3, r3, #1
	str	r3, [fp, #-468]
.L55:
	ldr	r2, [fp, #-468]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L54:
	ldr	r2, [fp, #-472]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L63
	ldr	r3, [fp, #-476]
	cmp	r3, #0
	bne	.L64
	ldr	r0, .L102+12
	bl	puts
	b	.L101
.L64:
	ldr	r3, .L102+28
	str	r3, [fp, #-460]
	mov	r3, #0
	str	r3, [fp, #-456]
	b	.L66
.L82:
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-400]
	ldr	r2, .L102+32
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-400]
	ldr	r3, .L102+32
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-424]
	mov	r3, #0
	str	r3, [fp, #-452]
	mov	r3, #0
	str	r3, [fp, #-448]
	b	.L67
.L77:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r1, [fp, #-424]
	ldr	r2, [fp, #-448]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L68
	ldr	r3, [fp, #-452]
	add	r3, r3, #1
	str	r3, [fp, #-452]
	b	.L69
.L68:
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L70
.L76:
	mov	r3, #0
	str	r3, [fp, #-440]
	b	.L71
.L75:
	ldr	r2, [fp, #-444]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r2, [fp, #-440]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L72
	ldr	r2, [fp, #-428]
	ldr	r3, [fp, #-444]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-424]
	ldr	r3, [fp, #-448]
	add	r2, r2, r3
	ldr	r3, [fp, #-440]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-420]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-420]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	mov	r1, #0
	ldr	r0, [fp, #-528]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-528]	@ float
	b	.L72
.L98:
	ldr	r1, [fp, #-420]	@ float
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L102+16
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L102+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-528]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-528]	@ float
.L72:
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
.L71:
	ldr	r2, [fp, #-440]
	ldr	r3, [fp, #-552]
	cmp	r2, r3
	blt	.L75
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L70:
	ldr	r2, [fp, #-444]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L76
.L69:
	ldr	r3, [fp, #-448]
	add	r3, r3, #1
	str	r3, [fp, #-448]
.L67:
	ldr	r2, [fp, #-556]
	ldr	r3, [fp, #-452]
	add	r3, r2, r3
	ldr	r2, [fp, #-448]
	cmp	r2, r3
	blt	.L77
	ldr	r1, [fp, #-528]	@ float
	ldr	r0, [fp, #-524]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-428]
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-452]
	str	r3, [fp, #-460]
	ldr	r3, [fp, #-528]	@ float
	str	r3, [fp, #-524]	@ float
	b	.L80
.L99:
	ldr	r1, [fp, #-528]	@ float
	ldr	r0, [fp, #-524]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L80
	ldr	r2, [fp, #-460]
	ldr	r3, [fp, #-452]
	cmp	r2, r3
	ble	.L80
	ldr	r3, [fp, #-428]
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-452]
	str	r3, [fp, #-460]
	ldr	r3, [fp, #-528]	@ float
	str	r3, [fp, #-524]	@ float
.L80:
	mov	r3, #0
	str	r3, [fp, #-528]	@ float
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
.L66:
	ldr	r2, [fp, #-456]
	ldr	r3, [fp, #-476]
	cmp	r2, r3
	blt	.L82
	ldr	r0, .L102+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-436]
	b	.L83
.L88:
	mov	r3, #0
	str	r3, [fp, #-532]
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r1, [fp, #-536]
	ldr	r2, [fp, #-436]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L84
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-544]
	add	r3, r3, r2
	ldr	r1, [fp, #-536]
	ldr	r2, [fp, #-436]
	add	r2, r1, r2
	mov	r1, #2
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L85
.L87:
	ldr	r3, [fp, #-544]
	ldr	r2, [fp, #-432]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L86
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
.L86:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L85:
	ldr	r2, [fp, #-536]
	ldr	r3, [fp, #-436]
	add	r3, r2, r3
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	blt	.L87
	ldr	r3, [fp, #-540]
	add	r1, r3, #1
	ldr	r2, .L102+20
	ldr	r3, [fp, #-532]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L102+40
	bl	printf
.L84:
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
.L83:
	ldr	r2, [fp, #-556]
	ldr	r3, [fp, #-460]
	add	r3, r2, r3
	ldr	r2, [fp, #-436]
	cmp	r2, r3
	blt	.L88
	mov	r0, #10
	bl	putchar
	ldr	r2, [fp, #-552]
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-544]
	bl	printSeats
.L101:
	nop
	ldr	r3, .L102
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L89
	bl	__stack_chk_fail
.L89:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L103:
	.align	2
.L102:
	.word	.LC12
	.word	-525502228
	.word	10000
	.word	.LC8
	.word	1079574528
	.word	alphabet
	.word	.LC9
	.word	9999
	.word	1374389535
	.word	.LC10
	.word	.LC11
	.size	engine, .-engine
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Number of rows: \000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.ascii	"Number of seats per row: \000"
	.align	2
.LC16:
	.ascii	"Number of aisles: \000"
	.align	2
.LC17:
	.ascii	"Add aisle %d after seat: \000"
	.align	2
.LC18:
	.ascii	"The number of people in the reservation\012 (0: pri"
	.ascii	"nt current reservations, -1: exit): \000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 39296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #39168
	sub	sp, sp, #128
	ldr	r3, .L124
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2408]
	ldr	r0, .L124+4
	bl	printf
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #124
	mov	r1, r3
	ldr	r0, .L124+8
	bl	__isoc99_scanf
	ldr	r0, .L124+12
	bl	printf
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #120
	mov	r1, r3
	ldr	r0, .L124+8
	bl	__isoc99_scanf
	ldr	r0, .L124+16
	bl	printf
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #116
	mov	r1, r3
	ldr	r0, .L124+8
	bl	__isoc99_scanf
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2404]
	b	.L105
.L106:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2404]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L124+20
	bl	printf
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #80
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2404]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L124+8
	bl	__isoc99_scanf
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2404]
	add	r3, r3, #1
	str	r3, [r2, #-2404]
.L105:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2420]
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2404]
	cmp	r2, r3
	blt	.L106
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2400]
	b	.L107
.L116:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2408]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2396]
	b	.L108
.L113:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2396]
	cmp	r3, #0
	bne	.L109
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2396]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2384]
	str	r3, [r2, #-2412]
	b	.L110
.L109:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2396]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-2384]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2396]
	sub	r3, r3, #1
	sub	r1, fp, #36864
	sub	r1, r1, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2384]
	sub	r1, fp, #36864
	sub	r1, r1, #4
	sub	r3, r2, r3
	str	r3, [r1, #-2412]
.L110:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2408]
	str	r3, [r2, #-2392]
	b	.L111
.L112:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r3, #-2400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2392]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #-2344]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2392]
	add	r3, r3, #1
	str	r3, [r2, #-2392]
.L111:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r2, #-2412]
	ldr	r3, [r3, #-2408]
	add	r3, r2, r3
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2392]
	cmp	r2, r3
	blt	.L112
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r2, #-2408]
	ldr	r3, [r3, #-2412]
	add	r3, r2, r3
	str	r3, [r1, #-2408]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r3, #-2400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2408]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mvn	r2, #0
	str	r2, [r3, #-2344]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2408]
	add	r3, r3, #1
	str	r3, [r2, #-2408]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2396]
	add	r3, r3, #1
	str	r3, [r2, #-2396]
.L108:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2420]
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2396]
	cmp	r2, r3
	blt	.L113
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2408]
	str	r3, [r2, #-2388]
	b	.L114
.L115:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r3, #-2400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2388]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #-2344]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2408]
	add	r3, r3, #1
	str	r3, [r2, #-2408]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2388]
	add	r3, r3, #1
	str	r3, [r2, #-2388]
.L114:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r2, [r3, #-2424]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2420]
	add	r3, r2, r3
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2388]
	cmp	r2, r3
	blt	.L115
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2400]
	add	r3, r3, #1
	str	r3, [r2, #-2400]
.L107:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2428]
	sub	r2, fp, #36864
	sub	r2, r2, #4
	ldr	r2, [r2, #-2400]
	cmp	r2, r3
	blt	.L116
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r1, [r3, #-2428]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #40
	ldr	r2, [r2, #-2408]
	mov	r0, r3
	bl	printSeats
.L121:
	ldr	r0, .L124+24
	bl	printf
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L124+8
	bl	__isoc99_scanf
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2416]
	cmn	r3, #1
	bne	.L117
	mov	r3, #0
	ldr	r2, .L124
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L122
	b	.L123
.L117:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2416]
	cmp	r3, #0
	bne	.L119
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r1, [r3, #-2428]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #39168
	sub	r3, r3, #4
	sub	r3, r3, #40
	ldr	r2, [r2, #-2408]
	mov	r0, r3
	bl	printSeats
	b	.L121
.L119:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r1, [r3, #-2428]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	ldr	r3, [r3, #-2416]
	sub	r2, fp, #36864
	sub	r2, r2, #4
	sub	r0, fp, #39168
	sub	r0, r0, #4
	sub	r0, r0, #40
	ldr	r2, [r2, #-2408]
	bl	engine
	b	.L121
.L123:
	bl	__stack_chk_fail
.L122:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L125:
	.align	2
.L124:
	.word	.LC19
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
