	.file	"996319.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	res
	.align 4
	.type	res, @object
	.size	res, 4
res:
	.zero	4
	.globl	opr
	.align 4
	.type	opr, @object
	.size	opr, 4
opr:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Calculator v1 - Welcome!"
	.align 8
.LC1:
	.string	"Please, Enter the first number: "
.LC2:
	.string	"%f"
.LC3:
	.string	"Now, the second number: "
.LC4:
	.string	"\n\tMenu"
.LC5:
	.string	"1 - Addition"
.LC6:
	.string	"2 - Subtraction"
.LC7:
	.string	"3 - Multiplication"
.LC8:
	.string	"4 - Division\n"
	.align 8
.LC9:
	.string	"Please, choose the required option: "
.LC10:
	.string	"%i"
	.align 8
.LC11:
	.string	"The result of Addition is: %.2f"
	.align 8
.LC12:
	.string	"The result of Subtraction is: %.2f"
	.align 8
.LC13:
	.string	"The result of Multiplication is: %.2f"
	.align 8
.LC14:
	.string	"The result of Division is: %.2f"
	.align 8
.LC15:
	.string	"Invalid Operation:/ \nTry again :) "
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
.L3:
	call	getchar@PLT
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	cmp	eax, 10
	je	.L2
	mov	eax, DWORD PTR c[rip]
	cmp	eax, -1
	jne	.L3
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, y[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
.L5:
	call	getchar@PLT
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	cmp	eax, 10
	je	.L4
	mov	eax, DWORD PTR c[rip]
	cmp	eax, -1
	jne	.L5
.L4:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, opr[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
.L7:
	call	getchar@PLT
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	cmp	eax, 10
	je	.L6
	mov	eax, DWORD PTR c[rip]
	cmp	eax, -1
	jne	.L7
.L6:
	mov	eax, DWORD PTR opr[rip]
	cmp	eax, 4
	je	.L8
	cmp	eax, 4
	jg	.L9
	cmp	eax, 3
	je	.L10
	cmp	eax, 3
	jg	.L9
	cmp	eax, 1
	je	.L11
	cmp	eax, 2
	je	.L12
	jmp	.L9
.L11:
	movss	xmm1, DWORD PTR x[rip]
	movss	xmm0, DWORD PTR y[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR res[rip], xmm0
	movss	xmm0, DWORD PTR res[rip]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L12:
	movss	xmm0, DWORD PTR x[rip]
	movss	xmm1, DWORD PTR y[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR res[rip], xmm0
	movss	xmm0, DWORD PTR res[rip]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L10:
	movss	xmm1, DWORD PTR x[rip]
	movss	xmm0, DWORD PTR y[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR res[rip], xmm0
	movss	xmm0, DWORD PTR res[rip]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L8:
	movss	xmm0, DWORD PTR x[rip]
	movss	xmm1, DWORD PTR y[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR res[rip], xmm0
	movss	xmm0, DWORD PTR res[rip]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L9:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L13:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"996319.c"
	.text
	.comm	x,4,4
	.comm	y,4,4
	.comm	res,4,4
	.comm	opr,4,4
	.comm	c,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Calculator v1 - Welcome!\000"
	.align	2
.LC1:
	.ascii	"Please, Enter the first number: \000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.align	2
.LC3:
	.ascii	"Now, the second number: \000"
	.align	2
.LC4:
	.ascii	"\012\011Menu\000"
	.align	2
.LC5:
	.ascii	"1 - Addition\000"
	.align	2
.LC6:
	.ascii	"2 - Subtraction\000"
	.align	2
.LC7:
	.ascii	"3 - Multiplication\000"
	.align	2
.LC8:
	.ascii	"4 - Division\012\000"
	.align	2
.LC9:
	.ascii	"Please, choose the required option: \000"
	.align	2
.LC10:
	.ascii	"%i\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC11:
	.ascii	"The result of Addition is: %.2f\000"
	.global	__aeabi_fsub
	.align	2
.LC12:
	.ascii	"The result of Subtraction is: %.2f\000"
	.global	__aeabi_fmul
	.align	2
.LC13:
	.ascii	"The result of Multiplication is: %.2f\000"
	.global	__aeabi_fdiv
	.align	2
.LC14:
	.ascii	"The result of Division is: %.2f\000"
	.align	2
.LC15:
	.ascii	"Invalid Operation:/ \012Try again :) \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	r0, .L16
	bl	puts
	ldr	r0, .L16+4
	bl	printf
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	__isoc99_scanf
	nop
.L3:
	bl	getchar
	mov	r3, r0
	ldr	r2, .L16+16
	str	r3, [r2]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r3, #10
	beq	.L2
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L3
.L2:
	ldr	r0, .L16+20
	bl	printf
	ldr	r1, .L16+24
	ldr	r0, .L16+12
	bl	__isoc99_scanf
	nop
.L5:
	bl	getchar
	mov	r3, r0
	ldr	r2, .L16+16
	str	r3, [r2]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r3, #10
	beq	.L4
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L5
.L4:
	ldr	r0, .L16+28
	bl	puts
	ldr	r0, .L16+32
	bl	puts
	ldr	r0, .L16+36
	bl	puts
	ldr	r0, .L16+40
	bl	puts
	ldr	r0, .L16+44
	bl	puts
	ldr	r0, .L16+48
	bl	printf
	ldr	r1, .L16+52
	ldr	r0, .L16+56
	bl	__isoc99_scanf
	nop
.L7:
	bl	getchar
	mov	r3, r0
	ldr	r2, .L16+16
	str	r3, [r2]
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r3, #10
	beq	.L6
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L7
.L6:
	ldr	r3, .L16+52
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L13:
	ldr	r3, .L16+8
	ldr	r3, [r3]	@ float
	ldr	r2, .L16+24
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+60
	str	r2, [r3]	@ float
	ldr	r3, .L16+60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+64
	bl	printf
	b	.L14
.L12:
	ldr	r3, .L16+8
	ldr	r3, [r3]	@ float
	ldr	r2, .L16+24
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+60
	str	r2, [r3]	@ float
	ldr	r3, .L16+60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+68
	bl	printf
	b	.L14
.L11:
	ldr	r3, .L16+8
	ldr	r3, [r3]	@ float
	ldr	r2, .L16+24
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+60
	str	r2, [r3]	@ float
	ldr	r3, .L16+60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+72
	bl	printf
	b	.L14
.L9:
	ldr	r3, .L16+8
	ldr	r3, [r3]	@ float
	ldr	r2, .L16+24
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+60
	str	r2, [r3]	@ float
	ldr	r3, .L16+60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+76
	bl	printf
	b	.L14
.L8:
	ldr	r0, .L16+80
	bl	printf
	nop
.L14:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	x
	.word	.LC2
	.word	c
	.word	.LC3
	.word	y
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	opr
	.word	.LC10
	.word	res
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
