	.file	"70449671.c"
	.intel_syntax noprefix
	.text
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.globl	stack
	.bss
	.align 32
	.type	stack, @object
	.size	stack, 40
stack:
	.zero	40
	.section	.rodata
.LC0:
	.string	"Stack is full\n\007"
	.text
	.globl	push_stack
	.type	push_stack, @function
push_stack:
.LFB0:
	.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 top[rip]
	cmp	eax, 10
	jne	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L2:
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, stack[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	push_stack, .-push_stack
	.section	.rodata
.LC1:
	.string	"Stack is Empty\n\007"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	mov	eax, DWORD PTR top[rip]
	sub	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	pop, .-pop
	.section	.rodata
.LC2:
	.string	"Yes!!\n\007"
.LC3:
	.string	"No!!\n\007"
	.text
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L10:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	isEmpty, .-isEmpty
	.globl	isFull
	.type	isFull, @function
isFull:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cmp	eax, 10
	jne	.L14
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L14:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	isFull, .-isFull
	.section	.rodata
.LC4:
	.string	"Empty Stack!!\n\007"
.LC5:
	.string	"%d  <----head\n"
.LC6:
	.string	"%d\n"
	.text
	.globl	displayStack
	.type	displayStack, @function
displayStack:
.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	eax, DWORD PTR top[rip]
	cmp	eax, -1
	jne	.L18
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR top[rip]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 1
.L20:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L21
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	displayStack, .-displayStack
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 12
	call	push_stack
	mov	edi, 23
	call	push_stack
	mov	edi, 67
	call	push_stack
	mov	edi, 1128
	call	push_stack
	mov	edi, 444
	call	push_stack
	mov	eax, 0
	call	pop
	mov	eax, 0
	call	displayStack
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"70449671.c"
	.text
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.comm	stack,40,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Stack is full\012\007\000"
	.text
	.align	2
	.global	push_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	push_stack, %function
push_stack:
	@ 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	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L2
	ldr	r0, .L5+4
	bl	printf
	b	.L4
.L2:
	ldr	r3, .L5
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5
	str	r3, [r2]
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	top
	.word	.LC0
	.word	stack
	.size	push_stack, .-push_stack
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Stack is Empty\012\007\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L11
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L11+4
	bl	printf
	b	.L7
.L8:
	ldr	r3, .L11
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
	ldr	r3, .L11
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+8
	ldr	r3, [r2, r3, lsl #2]
.L7:
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	top
	.word	.LC1
	.word	stack
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Yes!!\012\007\000"
	.align	2
.LC3:
	.ascii	"No!!\012\007\000"
	.text
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L17
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L17+4
	bl	printf
	b	.L16
.L14:
	ldr	r0, .L17+8
	bl	printf
.L16:
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	top
	.word	.LC2
	.word	.LC3
	.size	isEmpty, .-isEmpty
	.align	2
	.global	isFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFull, %function
isFull:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L20
	ldr	r0, .L23+4
	bl	printf
	b	.L22
.L20:
	ldr	r0, .L23+8
	bl	printf
.L22:
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	top
	.word	.LC2
	.word	.LC3
	.size	isFull, .-isFull
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Empty Stack!!\012\007\000"
	.align	2
.LC5:
	.ascii	"%d  <----head\012\000"
	.align	2
.LC6:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	displayStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayStack, %function
displayStack:
	@ 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, .L30
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L26
	ldr	r0, .L30+4
	bl	printf
	mov	r3, #0
	b	.L25
.L26:
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	ldr	r3, .L30
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r2, .L30+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L30+16
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L29
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	top
	.word	.LC4
	.word	stack
	.word	.LC5
	.word	.LC6
	.size	displayStack, .-displayStack
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #12
	bl	push_stack
	mov	r0, #23
	bl	push_stack
	mov	r0, #67
	bl	push_stack
	ldr	r0, .L34
	bl	push_stack
	mov	r0, #444
	bl	push_stack
	bl	pop
	bl	displayStack
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	1128
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
