	.file	"895164.c"
	.intel_syntax noprefix
	.text
	.globl	stack
	.bss
	.align 16
	.type	stack, @object
	.size	stack, 20
stack:
	.zero	20
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.text
	.globl	push
	.type	push, @function
push:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, stack[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	push, .-push
	.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	.L3
	mov	eax, -1
	jmp	.L4
.L3:
	mov	eax, DWORD PTR top[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR top[rip], edx
	cdqe
	lea	rdx, stack[rip]
	movzx	eax, BYTE PTR [rax+rdx]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	pop, .-pop
	.globl	priority
	.type	priority, @function
priority:
.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, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 43
	je	.L6
	cmp	BYTE PTR -4[rbp], 45
	jne	.L7
.L6:
	mov	eax, 1
	jmp	.L5
.L7:
	cmp	BYTE PTR -4[rbp], 42
	je	.L9
	cmp	BYTE PTR -4[rbp], 47
	jne	.L10
.L9:
	mov	eax, 2
	jmp	.L5
.L10:
	cmp	BYTE PTR -4[rbp], 94
	jne	.L11
	mov	eax, 3
	jmp	.L5
.L11:
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	priority, .-priority
	.section	.rodata
.LC0:
	.string	"Enter the expression :: "
.LC1:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -48[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L13
.L22:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	jne	.L16
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	push
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	jne	.L20
	jmp	.L18
.L19:
	movsx	eax, BYTE PTR -57[rbp]
	mov	edi, eax
	call	putchar@PLT
.L18:
	mov	eax, 0
	call	pop
	mov	BYTE PTR -57[rbp], al
	cmp	BYTE PTR -57[rbp], 40
	jne	.L19
	jmp	.L15
.L21:
	mov	eax, 0
	call	pop
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L20:
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rdx, stack[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	priority
	mov	ebx, eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	priority
	cmp	ebx, eax
	jge	.L21
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	push
.L15:
	add	QWORD PTR -56[rbp], 1
.L13:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L22
	jmp	.L23
.L24:
	mov	eax, 0
	call	pop
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L23:
	mov	eax, DWORD PTR top[rip]
	cmp	eax, -1
	jne	.L24
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"895164.c"
	.text
	.comm	stack,20,4
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.text
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r1, .L2+4
	ldrb	r2, [fp, #-5]
	strb	r2, [r1, r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	top
	.word	stack
	.size	push, .-push
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L7
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L5
	mov	r3, #255
	b	.L6
.L5:
	ldr	r3, .L7
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L7
	str	r2, [r1]
	ldr	r2, .L7+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	top
	.word	stack
	.size	pop, .-pop
	.align	2
	.global	priority
	.syntax unified
	.arm
	.fpu softvfp
	.type	priority, %function
priority:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L10
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L11
.L10:
	mov	r3, #1
	b	.L9
.L11:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L13
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L14
.L13:
	mov	r3, #2
	b	.L9
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #94
	bne	.L15
	mov	r3, #3
	b	.L9
.L15:
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	priority, .-priority
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the expression :: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L31+4
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L31+8
	bl	__isoc99_scanf
	sub	r3, fp, #36
	str	r3, [fp, #-40]
	b	.L17
.L26:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L19
.L18:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L20
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	push
	b	.L19
.L20:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L24
	b	.L22
.L23:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L22:
	bl	pop
	mov	r3, r0
	strb	r3, [fp, #-41]
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L23
	b	.L19
.L25:
	bl	pop
	mov	r3, r0
	mov	r0, r3
	bl	putchar
.L24:
	ldr	r3, .L31+12
	ldr	r3, [r3]
	ldr	r2, .L31+16
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	priority
	mov	r4, r0
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	priority
	mov	r3, r0
	cmp	r4, r3
	bge	.L25
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	push
.L19:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L17:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	b	.L27
.L28:
	bl	pop
	mov	r3, r0
	mov	r0, r3
	bl	putchar
.L27:
	ldr	r3, .L31+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L28
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	top
	.word	stack
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
