	.file	"939096.c"
	.intel_syntax noprefix
	.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
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR .LC1[rip]
	mov	edi, 43
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc
	movsd	xmm0, QWORD PTR .LC2[rip]
	mov	rax, QWORD PTR .LC3[rip]
	mov	edi, 45
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc
	movsd	xmm0, QWORD PTR .LC4[rip]
	mov	rax, QWORD PTR .LC5[rip]
	mov	edi, 42
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc
	mov	rax, QWORD PTR .LC6[rip]
	mov	edi, 47
	pxor	xmm1, xmm1
	movq	xmm0, rax
	call	calc
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR .LC6[rip]
	mov	edi, 37
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR .LC1[rip]
	mov	edi, 63
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	calc
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"%g %c %g = "
	.align 8
.LC9:
	.string	"*** ERROR *** division by %g is undefined.\n"
	.align 8
.LC10:
	.string	"*** ERROR ***  unknown operator; operator must be + - * / or %%\n"
.LC11:
	.string	"%g\n"
	.text
	.globl	calc
	.type	calc, @function
calc:
.LFB1:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	eax, edi
	mov	BYTE PTR -36[rbp], al
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	movsx	edx, BYTE PTR -36[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	movsx	eax, BYTE PTR -36[rbp]
	sub	eax, 37
	cmp	eax, 10
	ja	.L4
	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	.L10-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.text
.L8:
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L11
.L7:
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L11
.L9:
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L11
.L5:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -32[rbp]
	jp	.L12
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -32[rbp]
	jne	.L12
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L14
.L12:
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L11
.L10:
	movsd	xmm0, QWORD PTR -24[rbp]
	cvttsd2si	eax, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	cvttsd2si	ecx, xmm0
	cdq
	idiv	ecx
	mov	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L11
.L4:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L14
.L11:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -8[rbp]
.L14:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	calc, .-calc
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1075576832
	.align 8
.LC3:
	.long	0
	.long	1076101120
	.align 8
.LC4:
	.long	1717986918
	.long	1073899110
	.align 8
.LC5:
	.long	0
	.long	1074790400
	.align 8
.LC6:
	.long	0
	.long	1075052544
	.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	"939096.c"
	.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
	sub	sp, sp, #8
	mov	r3, #43
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, #0
	ldr	r1, .L3
	bl	calc
	mov	r3, #45
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L3+4
	mov	r0, #0
	ldr	r1, .L3+8
	bl	calc
	mov	r3, #42
	str	r3, [sp]
	ldr	r2, .L3+12
	ldr	r3, .L3+16
	mov	r0, #0
	ldr	r1, .L3+20
	bl	calc
	mov	r3, #47
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #0
	mov	r0, #0
	ldr	r1, .L3+24
	bl	calc
	mov	r3, #37
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, #0
	ldr	r1, .L3+24
	bl	calc
	mov	r3, #63
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, #0
	ldr	r1, .L3
	bl	calc
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	1072693248
	.word	1075576832
	.word	1076101120
	.word	1717986918
	.word	1073899110
	.word	1074790400
	.word	1075052544
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%g %c %g = \000"
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dcmpeq
	.align	2
.LC1:
	.ascii	"*** ERROR *** division by %g is undefined.\012\000"
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_idivmod
	.global	__aeabi_i2d
	.align	2
.LC2:
	.ascii	"*** ERROR ***  unknown operator; operator must be +"
	.ascii	" - * / or %%\012\000"
	.align	2
.LC3:
	.ascii	"%g\012\000"
	.text
	.align	2
	.global	calc
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc, %function
calc:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldrb	r1, [fp, #4]	@ zero_extendqisi2
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r1, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L19
	bl	printf
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	sub	r3, r3, #37
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L12
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L11
	.word	.L10
	.word	.L6
	.word	.L9
	.word	.L6
	.word	.L7
.L10:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L9:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L11:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L7:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L19+4
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	b	.L16
.L18:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L12:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r4, r0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L6:
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	b	.L16
.L13:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L19+12
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L16:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	calc, .-calc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
