	.file	"143174.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter two Numbers"
.LC1:
	.string	"%d \n %d"
	.align 8
.LC2:
	.string	"Enter the choice\n1 for Addition\n2 for Subtraction\n3 for Multiplication\n4 for Division\n5 for Remainder\n6 to Display all"
.LC3:
	.string	"%d"
.LC4:
	.string	"Sum of %d and %d is %d\n"
	.align 8
.LC5:
	.string	"Subtraction of %d and %d is %d\n"
	.align 8
.LC6:
	.string	"Multiplication of %d and %d is %d\n"
.LC7:
	.string	"Division of %d and %d is %d\n"
	.align 8
.LC8:
	.string	"Remainder of %d and %d is %f \n"
.LC9:
	.string	"Remainder of %d and %d is %f\n"
.LC10:
	.string	"Wrong Operation!!"
	.align 8
.LC11:
	.string	"\nDo you want to try again?\ny/n"
.LC12:
	.string	"%c"
.LC13:
	.string	"end!!"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdx, -32[rbp]
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	jne	.L3
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 2
	jne	.L5
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 3
	jne	.L6
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 4
	jne	.L7
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -32[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 5
	jne	.L8
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -12[rbp]
	movq	rcx, xmm1
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 6
	jne	.L9
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -32[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rcx, xmm2
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L4
.L9:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L4:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rax, -41[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -41[rbp]
	cmp	al, 121
	jne	.L10
	jmp	.L2
.L10:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"143174.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter two Numbers\000"
	.align	2
.LC1:
	.ascii	"%d \012 %d\000"
	.align	2
.LC2:
	.ascii	"Enter the choice\0121 for Addition\0122 for Subtrac"
	.ascii	"tion\0123 for Multiplication\0124 for Division\0125"
	.ascii	" for Remainder\0126 to Display all\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Sum of %d and %d is %d\012\000"
	.align	2
.LC5:
	.ascii	"Subtraction of %d and %d is %d\012\000"
	.align	2
.LC6:
	.ascii	"Multiplication of %d and %d is %d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC7:
	.ascii	"Division of %d and %d is %d\012\000"
	.global	__aeabi_idivmod
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"Remainder of %d and %d is %f \012\000"
	.align	2
.LC9:
	.ascii	"Remainder of %d and %d is %f\012\000"
	.align	2
.LC10:
	.ascii	"Wrong Operation!!\000"
	.align	2
.LC11:
	.ascii	"\012Do you want to try again?\012y/n\000"
	.align	2
.LC12:
	.ascii	"%c\000"
	.align	2
.LC13:
	.ascii	"end!!\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L2:
	ldr	r0, .L13+4
	bl	puts
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldr	r0, .L13+12
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L13+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L3
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldr	r0, .L13+20
	bl	printf
	b	.L4
.L3:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bne	.L5
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	ldr	r0, .L13+24
	bl	printf
	b	.L4
.L5:
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bne	.L6
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	ldr	r0, .L13+28
	bl	printf
	b	.L4
.L6:
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	bne	.L7
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	ldr	r0, .L13+32
	bl	printf
	b	.L4
.L7:
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	bne	.L8
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r4, [fp, #-44]
	ldr	r5, [fp, #-40]
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L13+36
	bl	printf
	b	.L4
.L8:
	ldr	r3, [fp, #-48]
	cmp	r3, #6
	bne	.L9
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldr	r0, .L13+20
	bl	printf
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	ldr	r0, .L13+24
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	ldr	r0, .L13+28
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	ldr	r0, .L13+32
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r4, [fp, #-44]
	ldr	r5, [fp, #-40]
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L13+40
	bl	printf
	b	.L4
.L9:
	ldr	r0, .L13+44
	bl	puts
.L4:
	ldr	r3, .L13+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L13+52
	bl	puts
	sub	r3, fp, #49
	mov	r1, r3
	ldr	r0, .L13+56
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L10
	b	.L2
.L10:
	ldr	r0, .L13+60
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	stdin
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
