	.file	"563514.c"
	.intel_syntax noprefix
	.text
	.globl	input
	.bss
	.align 8
	.type	input, @object
	.size	input, 10
input:
	.zero	10
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	error
	.align 4
	.type	error, @object
	.size	error, 4
error:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter an arithmetic expression   :  "
.LC1:
	.string	"\nIt is valid input. "
.LC2:
	.string	"\nOops! String not accepted"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR error[rip], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, input[rip]
	mov	eax, 0
	call	gets@PLT
	mov	eax, 0
	call	E
	lea	rdi, input[rip]
	call	strlen@PLT
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L2
	mov	eax, DWORD PTR error[rip]
	test	eax, eax
	jne	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	E
	.type	E, @function
E:
.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, 0
	call	T
	mov	eax, 0
	call	Eprime
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	E, .-E
	.globl	Eprime
	.type	Eprime, @function
Eprime:
.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 i[rip]
	cdqe
	lea	rdx, input[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 43
	jne	.L8
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	mov	eax, 0
	call	T
	mov	eax, 0
	call	Eprime
.L8:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Eprime, .-Eprime
	.globl	T
	.type	T, @function
T:
.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, 0
	call	F
	mov	eax, 0
	call	Tprime
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	T, .-T
	.globl	Tprime
	.type	Tprime, @function
Tprime:
.LFB4:
	.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 i[rip]
	cdqe
	lea	rdx, input[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 42
	jne	.L12
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	mov	eax, 0
	call	F
	mov	eax, 0
	call	Tprime
.L12:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	Tprime, .-Tprime
	.globl	F
	.type	F, @function
F:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	__ctype_b_loc@PLT
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, input[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	rax, al
	add	rax, rax
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	jmp	.L18
.L14:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, input[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 40
	jne	.L16
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	mov	eax, 0
	call	E
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, input[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 41
	jne	.L17
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	jmp	.L18
.L17:
	mov	DWORD PTR error[rip], 1
	jmp	.L18
.L16:
	mov	DWORD PTR error[rip], 1
.L18:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	F, .-F
	.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	"563514.c"
	.text
	.comm	input,10,4
	.comm	i,4,4
	.comm	error,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter an arithmetic expression   :  \000"
	.align	2
.LC1:
	.ascii	"\012It is valid input. \000"
	.align	2
.LC2:
	.ascii	"\012Oops! String not accepted\000"
	.text
	.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
	ldr	r3, .L5
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L5+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L5+8
	bl	printf
	ldr	r0, .L5+12
	bl	gets
	bl	E
	ldr	r0, .L5+12
	bl	strlen
	mov	r3, r0
	ldr	r2, .L5
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L2
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L5+16
	bl	puts
	b	.L3
.L2:
	ldr	r0, .L5+20
	bl	puts
.L3:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	i
	.word	error
	.word	.LC0
	.word	input
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	E
	.syntax unified
	.arm
	.fpu softvfp
	.type	E, %function
E:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	T
	bl	Eprime
	nop
	pop	{fp, pc}
	.size	E, .-E
	.align	2
	.global	Eprime
	.syntax unified
	.arm
	.fpu softvfp
	.type	Eprime, %function
Eprime:
	@ 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]
	ldr	r2, .L11+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L10
	ldr	r3, .L11
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
	bl	T
	bl	Eprime
.L10:
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	i
	.word	input
	.size	Eprime, .-Eprime
	.align	2
	.global	T
	.syntax unified
	.arm
	.fpu softvfp
	.type	T, %function
T:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	F
	bl	Tprime
	nop
	pop	{fp, pc}
	.size	T, .-T
	.align	2
	.global	Tprime
	.syntax unified
	.arm
	.fpu softvfp
	.type	Tprime, %function
Tprime:
	@ 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]
	ldr	r2, .L17+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L16
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	bl	F
	bl	Tprime
.L16:
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	i
	.word	input
	.size	Tprime, .-Tprime
	.align	2
	.global	F
	.syntax unified
	.arm
	.fpu softvfp
	.type	F, %function
F:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r1, .L25+4
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
	b	.L24
.L20:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L22
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
	bl	E
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L23
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
	b	.L24
.L23:
	ldr	r3, .L25+8
	mov	r2, #1
	str	r2, [r3]
	b	.L24
.L22:
	ldr	r3, .L25+8
	mov	r2, #1
	str	r2, [r3]
.L24:
	nop
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	i
	.word	input
	.word	error
	.size	F, .-F
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
