	.file	"86762.c"
	.intel_syntax noprefix
	.text
	.globl	front
	.bss
	.align 8
	.type	front, @object
	.size	front, 8
front:
	.zero	8
	.globl	rear
	.align 8
	.type	rear, @object
	.size	rear, 8
rear:
	.zero	8
	.globl	qsize
	.align 4
	.type	qsize, @object
	.size	qsize, 4
qsize:
	.zero	4
	.text
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isEmpty, .-isEmpty
	.globl	enQueue
	.type	enQueue, @function
enQueue:
.LFB1:
	.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
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR front[rip]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR front[rip], rax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR rear[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR rear[rip], rax
	mov	eax, DWORD PTR qsize[rip]
	add	eax, 1
	mov	DWORD PTR qsize[rip], eax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	enQueue, .-enQueue
	.globl	deQueue
	.type	deQueue, @function
deQueue:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR front[rip]
	mov	rdi, rax
	call	isEmpty
	test	eax, eax
	je	.L9
	mov	eax, -1
	jmp	.L10
.L9:
	mov	rax, QWORD PTR front[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR front[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR front[rip], rax
	mov	rax, QWORD PTR front[rip]
	test	rax, rax
	mov	eax, DWORD PTR qsize[rip]
	sub	eax, 1
	mov	DWORD PTR qsize[rip], eax
	mov	eax, DWORD PTR -4[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	deQueue, .-deQueue
	.globl	push
	.type	push, @function
push:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	enQueue
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	push, .-push
	.section	.rodata
.LC0:
	.string	"\n Stack is empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L14
.L15:
	mov	eax, 0
	call	deQueue
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	enQueue
	add	DWORD PTR -8[rbp], 1
.L14:
	mov	eax, DWORD PTR qsize[rip]
	sub	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jl	.L15
	mov	eax, 0
	call	deQueue
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L16
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -4[rbp]
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	pop, .-pop
	.section	.rodata
.LC1:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L19:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L20
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	display, .-display
	.section	.rodata
.LC2:
	.string	"Enter the size: "
.LC3:
	.string	"%d"
.LC4:
	.string	"Enter the numbers:"
.LC5:
	.string	"Stack size:%d\n"
.LC6:
	.string	"Popped Elements are:"
.LC7:
	.string	"\n%d "
.LC8:
	.string	"\nStack size:%d"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L22
.L23:
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	push
	add	DWORD PTR -12[rbp], 1
.L22:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L23
	mov	eax, DWORD PTR qsize[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L24
.L25:
	mov	eax, 0
	call	pop
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	mov	eax, DWORD PTR qsize[rip]
	test	eax, eax
	jg	.L25
	mov	eax, DWORD PTR qsize[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	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	"86762.c"
	.text
	.global	front
	.bss
	.align	2
	.type	front, %object
	.size	front, 4
front:
	.space	4
	.global	rear
	.align	2
	.type	rear, %object
	.size	rear, 4
rear:
	.space	4
	.global	qsize
	.align	2
	.type	qsize, %object
	.size	qsize, 4
qsize:
	.space	4
	.text
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isEmpty, .-isEmpty
	.align	2
	.global	enQueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enQueue, %function
enQueue:
	@ 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]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
	ldr	r2, .L8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L6
.L5:
	ldr	r3, .L8+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L6:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L8+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+8
	str	r3, [r2]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	front
	.word	rear
	.word	qsize
	.size	enQueue, .-enQueue
	.align	2
	.global	deQueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	deQueue, %function
deQueue:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	mvn	r3, #0
	b	.L12
.L11:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L14
	str	r3, [r2]
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	ldr	r3, .L14+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L14+4
	str	r3, [r2]
	ldr	r3, [fp, #-8]
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	front
	.word	qsize
	.size	deQueue, .-deQueue
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	enQueue
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	push, .-push
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 Stack is empty\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L18
.L19:
	bl	deQueue
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	enQueue
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, .L22
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L19
	bl	deQueue
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L22+4
	bl	printf
	mov	r3, #0
	b	.L21
.L20:
	ldr	r3, [fp, #-8]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	qsize
	.word	.LC0
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d \000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L27
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.size	display, .-display
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter the size: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Enter the numbers:\000"
	.align	2
.LC5:
	.ascii	"Stack size:%d\012\000"
	.align	2
.LC6:
	.ascii	"Popped Elements are:\000"
	.align	2
.LC7:
	.ascii	"\012%d \000"
	.align	2
.LC8:
	.ascii	"\012Stack size:%d\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L36+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r0, .L36+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L31:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	push
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L36+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+20
	bl	printf
	ldr	r0, .L36+24
	bl	puts
	b	.L32
.L33:
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L36+28
	bl	printf
.L32:
	ldr	r3, .L36+16
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L33
	ldr	r3, .L36+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC9
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	qsize
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
