	.file	"667113.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the desired binary operator:\n 1) +\n 2) -\n 3) *\n 4) /\n 5) ^"
.LC1:
	.string	"%i"
.LC2:
	.string	"Enter first number: "
.LC3:
	.string	"%lf"
.LC4:
	.string	"Enter second number: "
.LC5:
	.string	"The value of %lf+%lf is %lf"
.LC6:
	.string	"The value of %lf-%lf is %lf"
.LC7:
	.string	"The value of %lf*%lf is %lf"
.LC8:
	.string	"The value of %lf/%lf is %lf"
.LC9:
	.string	"The value of %lf^%lf is %lf"
	.text
	.globl	binary
	.type	binary, @function
binary:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 5
	ja	.L12
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L12-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L8:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L9
.L7:
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L9
.L6:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L9
.L5:
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L9
.L3:
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rdx, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm2, rdx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L9
.L12:
	nop
.L9:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	binary, .-binary
	.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	"667113.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the desired binary operator:\012 1) +\012 2) "
	.ascii	"-\012 3) *\012 4) /\012 5) ^\000"
	.align	2
.LC1:
	.ascii	"%i\000"
	.align	2
.LC2:
	.ascii	"Enter first number: \000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.align	2
.LC4:
	.ascii	"Enter second number: \000"
	.global	__aeabi_dadd
	.align	2
.LC5:
	.ascii	"The value of %lf+%lf is %lf\000"
	.global	__aeabi_dsub
	.align	2
.LC6:
	.ascii	"The value of %lf-%lf is %lf\000"
	.global	__aeabi_dmul
	.align	2
.LC7:
	.ascii	"The value of %lf*%lf is %lf\000"
	.global	__aeabi_ddiv
	.align	2
.LC8:
	.ascii	"The value of %lf/%lf is %lf\000"
	.align	2
.LC9:
	.ascii	"The value of %lf^%lf is %lf\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	binary, %function
binary:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldr	r0, .L13+12
	bl	puts
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L13+16
	bl	__isoc99_scanf
	ldr	r0, .L13+20
	bl	puts
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L13+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L12
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L8:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L13+24
	bl	printf
	b	.L9
.L7:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L13+28
	bl	printf
	b	.L9
.L6:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L13+32
	bl	printf
	b	.L9
.L5:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L13+36
	bl	printf
	b	.L9
.L3:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L13+40
	bl	printf
	b	.L9
.L12:
	nop
.L9:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	binary, .-binary
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
