	.file	"262892.c"
	.intel_syntax noprefix
	.text
	.globl	sub_e
	.bss
	.align 4
	.type	sub_e, @object
	.size	sub_e, 4
sub_e:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	o
	.type	o, @object
	.size	o, 1
o:
	.zero	1
	.section	.rodata
.LC0:
	.string	"%f"
	.text
	.globl	get_num
	.type	get_num, @function
get_num:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_num, .-get_num
	.section	.rodata
.LC1:
	.string	"%c"
	.text
	.globl	get_op
	.type	get_op, @function
get_op:
.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 fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -9[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_op, .-get_op
	.globl	m_exp
	.type	m_exp, @function
m_exp:
.LFB8:
	.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
	movss	DWORD PTR -20[rbp], xmm0
	mov	eax, edi
	mov	BYTE PTR -24[rbp], al
.L8:
	cmp	BYTE PTR -24[rbp], 43
	je	.L9
	cmp	BYTE PTR -24[rbp], 45
	jne	.L10
.L9:
	mov	rdx, QWORD PTR stdin[rip]
	movsx	eax, BYTE PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L11
.L10:
	cmp	BYTE PTR -24[rbp], 10
	jne	.L12
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L11
.L12:
	cmp	BYTE PTR -24[rbp], 42
	je	.L13
	cmp	BYTE PTR -24[rbp], 47
	jne	.L14
.L13:
	mov	eax, 0
	call	get_num
	movd	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -9[rbp], al
	cmp	BYTE PTR -24[rbp], 42
	jne	.L15
	movss	xmm0, DWORD PTR -20[rbp]
	mulss	xmm0, DWORD PTR -8[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	movsx	edx, BYTE PTR -9[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, edx
	movd	xmm0, eax
	call	m_exp
	movd	eax, xmm0
	jmp	.L11
.L15:
	cmp	BYTE PTR -24[rbp], 47
	jne	.L21
	movss	xmm0, DWORD PTR -20[rbp]
	divss	xmm0, DWORD PTR -8[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	movsx	edx, BYTE PTR -9[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, edx
	movd	xmm0, eax
	call	m_exp
	movd	eax, xmm0
	jmp	.L11
.L14:
	cmp	BYTE PTR -24[rbp], 32
	jne	.L18
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -10[rbp], al
	movsx	edx, BYTE PTR -10[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, edx
	movd	xmm0, eax
	call	m_exp
	movd	eax, xmm0
	jmp	.L11
.L18:
	cmp	BYTE PTR -24[rbp], 40
	je	.L8
	cmp	BYTE PTR -24[rbp], 41
	jne	.L20
	jmp	.L8
.L20:
	mov	edi, 1
	call	exit@PLT
.L21:
	nop
	jmp	.L7
.L11:
	movd	xmm0, eax
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	m_exp, .-m_exp
	.globl	s_exp
	.type	s_exp, @function
s_exp:
.LFB9:
	.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	edi, 42
	movss	xmm0, DWORD PTR .LC2[rip]
	call	m_exp
	movd	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -9[rbp], al
	jmp	.L23
.L30:
	mov	edi, 42
	movss	xmm0, DWORD PTR .LC2[rip]
	call	m_exp
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	cmp	BYTE PTR -9[rbp], 40
	je	.L23
	cmp	BYTE PTR -9[rbp], 41
	jne	.L25
	jmp	.L23
.L25:
	cmp	BYTE PTR -9[rbp], 43
	jne	.L26
	movss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -8[rbp], xmm0
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -9[rbp], al
	jmp	.L23
.L26:
	cmp	BYTE PTR -9[rbp], 45
	jne	.L27
	movss	xmm0, DWORD PTR -8[rbp]
	subss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -8[rbp], xmm0
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -9[rbp], al
	jmp	.L23
.L27:
	cmp	BYTE PTR -9[rbp], 32
	jne	.L28
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -9[rbp], al
	jmp	.L23
.L28:
	cmp	BYTE PTR -9[rbp], 45
	jne	.L29
	cmp	BYTE PTR -9[rbp], 43
	jne	.L29
	cmp	BYTE PTR -9[rbp], 10
	je	.L23
.L29:
	mov	edi, 1
	call	exit@PLT
.L23:
	cmp	BYTE PTR -9[rbp], 43
	je	.L30
	cmp	BYTE PTR -9[rbp], 45
	je	.L30
	cmp	BYTE PTR -9[rbp], 42
	je	.L30
	cmp	BYTE PTR -9[rbp], 47
	je	.L30
	cmp	BYTE PTR -9[rbp], 32
	je	.L30
	cmp	BYTE PTR -9[rbp], 46
	je	.L30
	cmp	BYTE PTR -9[rbp], 40
	je	.L30
	cmp	BYTE PTR -9[rbp], 41
	je	.L30
	movss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	s_exp, .-s_exp
	.section	.rodata
	.align 8
.LC3:
	.string	"\nPlease enter an arithmetic expression: "
.LC4:
	.string	"%f\n"
.LC5:
	.string	"\nEnter One more expression: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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], 1
	jmp	.L33
.L36:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	s_exp
	movd	eax, xmm0
	mov	DWORD PTR sub_e[rip], eax
	movss	xmm0, DWORD PTR sub_e[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	get_op
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 78
	jne	.L34
	add	DWORD PTR -4[rbp], 1
	jmp	.L33
.L34:
	cmp	BYTE PTR -5[rbp], 89
	jne	.L35
	jmp	.L33
.L35:
	mov	edi, 1
	call	exit@PLT
.L33:
	cmp	DWORD PTR -4[rbp], 1
	je	.L36
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC2:
	.long	1065353216
	.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	"262892.c"
	.text
	.comm	sub_e,4,4
	.comm	a,4,4
	.comm	b,4,4
	.comm	o,1,1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%f\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_num
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_num, %function
get_num:
	@ 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, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]	@ float
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	get_num, .-get_num
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%c\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_op, %function
get_op:
	@ 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, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L9+4
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC2
	.size	get_op, .-get_op
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.align	2
	.global	m_exp
	.syntax unified
	.arm
	.fpu softvfp
	.type	m_exp, %function
m_exp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]	@ float
	mov	r3, r1
	strb	r3, [fp, #-25]
.L12:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L13
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L14
.L13:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	ldr	r2, .L26
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	ungetc
	ldr	r3, [fp, #-24]	@ float
	b	.L11
.L14:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L16
	ldr	r3, [fp, #-24]	@ float
	b	.L11
.L16:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L17
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L18
.L17:
	bl	get_num
	str	r0, [fp, #-12]	@ float
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L19
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	m_exp
	mov	r3, r0
	b	.L11
.L19:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L25
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	m_exp
	mov	r3, r0
	b	.L11
.L18:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L22
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-14]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	m_exp
	mov	r3, r0
	b	.L11
.L22:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L12
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L24
	b	.L12
.L24:
	mov	r0, #1
	bl	exit
.L25:
	nop
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	stdin
	.size	m_exp, .-m_exp
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.align	2
	.global	s_exp
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_exp, %function
s_exp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r1, #42
	mov	r0, #1065353216
	bl	m_exp
	str	r0, [fp, #-12]	@ float
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L29
.L36:
	mov	r1, #42
	mov	r0, #1065353216
	bl	m_exp
	str	r0, [fp, #-8]	@ float
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L29
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L31
	b	.L29
.L31:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L32
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L29
.L32:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L33
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L29
.L33:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L34
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-13]
	b	.L29
.L34:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L35
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L35
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L29
.L35:
	mov	r0, #1
	bl	exit
.L29:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L36
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L36
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	s_exp, .-s_exp
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012Please enter an arithmetic expression: \000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"%f\012\000"
	.align	2
.LC6:
	.ascii	"\012Enter One more expression: \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #1
	str	r3, [fp, #-8]
	b	.L39
.L42:
	ldr	r0, .L44
	bl	printf
	bl	s_exp
	mov	r3, r0
	ldr	r2, .L44+4
	str	r3, [r2]	@ float
	ldr	r3, .L44+4
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+8
	bl	printf
	ldr	r0, .L44+12
	bl	printf
	bl	get_op
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L40
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L39
.L40:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #89
	bne	.L41
	b	.L39
.L41:
	mov	r0, #1
	bl	exit
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L42
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC4
	.word	sub_e
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
