	.file	"355200.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"add"
.LC1:
	.string	"subtract"
.LC2:
	.string	"multiply"
.LC3:
	.string	"divide"
	.text
	.globl	arithmetic
	.type	arithmetic, @function
arithmetic:
.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
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	movsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, QWORD PTR -16[rbp]
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, QWORD PTR -16[rbp]
	jmp	.L3
.L6:
	jmp	.L1
.L3:
	movq	rax, xmm0
.L1:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	arithmetic, .-arithmetic
	.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	"355200.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"add\000"
	.global	__aeabi_dadd
	.align	2
.LC1:
	.ascii	"subtract\000"
	.global	__aeabi_dsub
	.align	2
.LC2:
	.ascii	"multiply\000"
	.global	__aeabi_dmul
	.align	2
.LC3:
	.ascii	"divide\000"
	.global	__aeabi_ddiv
	.text
	.align	2
	.global	arithmetic
	.syntax unified
	.arm
	.fpu softvfp
	.type	arithmetic, %function
arithmetic:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r1, [fp, #4]
	ldr	r0, .L7
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	b	.L1
.L2:
	ldr	r1, [fp, #4]
	ldr	r0, .L7+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	b	.L1
.L4:
	ldr	r1, [fp, #4]
	ldr	r0, .L7+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L1
.L5:
	ldr	r1, [fp, #4]
	ldr	r0, .L7+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L1
.L6:
.L1:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	arithmetic, .-arithmetic
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
