	.file	"132826.c"
	.intel_syntax noprefix
	.text
	.globl	stack
	.bss
	.align 8
	.type	stack, @object
	.size	stack, 8
stack:
	.zero	8
	.globl	top
	.align 8
	.type	top, @object
	.size	top, 8
top:
	.zero	8
	.text
	.globl	push
	.type	push, @function
push:
.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	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR stack[rip]
	test	rax, rax
	jne	.L2
	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 stack[rip], rax
	mov	rax, QWORD PTR stack[rip]
	mov	QWORD PTR top[rip], rax
	jmp	.L4
.L2:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR top[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR top[rip], rax
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.section	.rodata
.LC0:
	.string	"Stack is empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.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, 16
	mov	rax, QWORD PTR stack[rip]
	test	rax, rax
	jne	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	mov	rax, QWORD PTR top[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR top[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR top[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -12[rbp]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.section	.rodata
.LC1:
	.string	"Enter Postfix expression: "
.LC2:
	.string	"%s"
.LC3:
	.string	"Result : %d\n"
	.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
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	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
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	BYTE PTR -64[rbp+rax], 0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L10
.L17:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 44
	je	.L11
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 43
	jne	.L12
	mov	eax, 0
	call	pop
	mov	DWORD PTR -80[rbp], eax
	mov	eax, 0
	call	pop
	add	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 45
	jne	.L13
	mov	eax, 0
	call	pop
	mov	DWORD PTR -76[rbp], eax
	mov	eax, 0
	call	pop
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 42
	jne	.L14
	mov	eax, 0
	call	pop
	mov	ebx, eax
	mov	eax, 0
	call	pop
	imul	eax, ebx
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 47
	jne	.L15
	mov	eax, 0
	call	pop
	mov	DWORD PTR -76[rbp], eax
	mov	eax, 0
	call	pop
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdq
	idiv	DWORD PTR -76[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 44
	je	.L16
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR -66[rbp], al
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR -66[rbp], al
	add	DWORD PTR -84[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ebx, eax
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	atoi@PLT
	add	eax, ebx
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR -66[rbp], al
	lea	rax, -66[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	push
.L11:
	add	DWORD PTR -84[rbp], 1
.L10:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rbx, eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L17
	mov	eax, 0
	call	pop
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"132826.c"
	.text
	.global	stack
	.bss
	.align	2
	.type	stack, %object
	.size	stack, 4
stack:
	.space	4
	.global	top
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.space	4
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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]
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r2, .L5
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, .L5+4
	str	r3, [r2]
	b	.L4
.L2:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L5+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L5+4
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	stack
	.word	top
	.size	push, .-push
	.section	.rodata
	.align	2
.LC0:
	.ascii	"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
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L11+4
	bl	puts
	b	.L7
.L8:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L11+8
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	stack
	.word	.LC0
	.word	top
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter Postfix expression: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.global	__aeabi_idiv
	.align	2
.LC3:
	.ascii	"Result : %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L24+4
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	sub	r3, fp, #48
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-36]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L14
.L21:
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L15
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L16
	bl	pop
	str	r0, [fp, #-64]
	bl	pop
	mov	r2, r0
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
	b	.L15
.L16:
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L17
	bl	pop
	str	r0, [fp, #-60]
	bl	pop
	str	r0, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	sub	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
	b	.L15
.L17:
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L18
	bl	pop
	mov	r4, r0
	bl	pop
	mov	r3, r0
	mul	r3, r4, r3
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
	b	.L15
.L18:
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L19
	bl	pop
	str	r0, [fp, #-60]
	bl	pop
	str	r0, [fp, #-56]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
	b	.L15
.L19:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-36]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L20
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-52]
	sub	r3, fp, #52
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-36]	@ zero_extendqisi2
	strb	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r4, r3
	sub	r3, fp, #52
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
	b	.L15
.L20:
	sub	r2, fp, #48
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-52]
	sub	r3, fp, #52
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	push
.L15:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L14:
	sub	r3, fp, #48
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	bhi	.L21
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L24+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
