	.file	"784606.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter the first number:  "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter an operator(+,-,*, /, %, ^):  "
.LC3:
	.string	"%c"
.LC4:
	.string	"Enter the second number:  "
.LC5:
	.string	"%d+%d=%d"
.LC6:
	.string	"%d-%d=%d"
.LC8:
	.string	"%d/%d=%.2f"
.LC9:
	.string	"%dx%d=%d"
.LC10:
	.string	"%d^%d=%.2f"
.LC11:
	.string	"%d %% %d=%d"
.LC12:
	.string	"No such operator"
	.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
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
	cmp	eax, 120
	je	.L2
	cmp	eax, 120
	jg	.L3
	cmp	eax, 47
	jg	.L4
	cmp	eax, 37
	jl	.L3
	sub	eax, 37
	cmp	eax, 10
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L9-.L6
	.long	.L3-.L6
	.long	.L3-.L6
	.long	.L3-.L6
	.long	.L3-.L6
	.long	.L2-.L6
	.long	.L8-.L6
	.long	.L3-.L6
	.long	.L7-.L6
	.long	.L3-.L6
	.long	.L5-.L6
	.text
.L4:
	cmp	eax, 94
	je	.L10
	jmp	.L3
.L8:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L7:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -12[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L5:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -12[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	jmp	.L13
.L12:
	mov	rax, QWORD PTR .LC7[rip]
.L13:
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movq	xmm0, rax
	mov	esi, ecx
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L11
.L2:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -12[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movq	xmm0, rax
	mov	esi, ecx
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L11
.L9:
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L3:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, 0
	call	getch@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	0
	.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	"784606.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the first number:  \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter an operator(+,-,*, /, %, ^):  \000"
	.align	2
.LC3:
	.ascii	"%c\000"
	.align	2
.LC4:
	.ascii	"Enter the second number:  \000"
	.align	2
.LC5:
	.ascii	"%d+%d=%d\000"
	.align	2
.LC6:
	.ascii	"%d-%d=%d\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"%d/%d=%.2f\000"
	.align	2
.LC8:
	.ascii	"%dx%d=%d\000"
	.align	2
.LC9:
	.ascii	"%d^%d=%.2f\000"
	.global	__aeabi_idivmod
	.align	2
.LC10:
	.ascii	"%d %% %d=%d\000"
	.align	2
.LC11:
	.ascii	"No such operator\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, .L16+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #33
	mov	r1, r3
	ldr	r0, .L16+20
	bl	__isoc99_scanf
	ldr	r0, .L16+24
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L2
	cmp	r3, #120
	bgt	.L3
	cmp	r3, #47
	bgt	.L4
	cmp	r3, #37
	blt	.L3
	sub	r3, r3, #37
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L6:
	.word	.L9
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L2
	.word	.L8
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L5
.L4:
	cmp	r3, #94
	beq	.L10
	b	.L3
.L8:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L16+28
	bl	printf
	b	.L11
.L7:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L16+32
	bl	printf
	b	.L11
.L5:
	ldr	r4, [fp, #-32]
	ldr	r5, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r6, r0
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	b	.L13
.L12:
	mov	r2, #0
	mov	r3, #0
.L13:
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L16+36
	bl	printf
	b	.L11
.L2:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L16+40
	bl	printf
	b	.L11
.L10:
	ldr	r6, [fp, #-32]
	ldr	r7, [fp, #-28]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r7
	mov	r1, r6
	ldr	r0, .L16+44
	bl	printf
	b	.L11
.L9:
	ldr	r4, [fp, #-32]
	ldr	r5, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L16+48
	bl	printf
	b	.L11
.L3:
	ldr	r0, .L16+52
	bl	printf
.L11:
	bl	getch
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
