	.file	"208030.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"%lf"
.LC4:
	.string	"%.1lf\n"
	.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, 1200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -1176[rbp], xmm0
	lea	rax, -1188[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -10[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1184[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -1180[rbp], 0
	jmp	.L3
.L5:
	lea	rcx, -1168[rbp]
	mov	eax, DWORD PTR -1180[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1184[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1188[rbp]
	cmp	DWORD PTR -1184[rbp], eax
	jne	.L4
	mov	eax, DWORD PTR -1180[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1184[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -1168[rbp+rax*8]
	movsd	xmm1, QWORD PTR -1176[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -1176[rbp], xmm0
.L4:
	add	DWORD PTR -1180[rbp], 1
.L3:
	cmp	DWORD PTR -1180[rbp], 11
	jle	.L5
	add	DWORD PTR -1184[rbp], 1
.L2:
	cmp	DWORD PTR -1184[rbp], 11
	jle	.L6
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 83
	jne	.L7
	mov	rax, QWORD PTR -1176[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L8
.L7:
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 77
	jne	.L8
	movsd	xmm0, QWORD PTR -1176[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -1176[rbp], xmm0
	mov	rax, QWORD PTR -1176[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1076363264
	.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	"208030.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%lf\000"
	.global	__aeabi_dadd
	.align	2
.LC3:
	.ascii	"%.1lf\012\000"
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1184
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-1172]
	str	r3, [fp, #-1168]
	sub	r3, fp, #1168
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1180]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L3
.L5:
	sub	r2, fp, #1152
	sub	r2, r2, #4
	sub	r2, r2, #8
	ldr	r1, [fp, #-1180]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1176]
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1184]
	ldr	r2, [fp, #-1180]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [fp, #-1180]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1176]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1152
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1172]
	ldr	r1, [fp, #-1168]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1172]
	str	r3, [fp, #-1168]
.L4:
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L3:
	ldr	r3, [fp, #-1176]
	cmp	r3, #11
	ble	.L5
	ldr	r3, [fp, #-1180]
	add	r3, r3, #1
	str	r3, [fp, #-1180]
.L2:
	ldr	r3, [fp, #-1180]
	cmp	r3, #11
	ble	.L6
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L7
	ldr	r2, [fp, #-1172]
	ldr	r3, [fp, #-1168]
	ldr	r0, .L11+16
	bl	printf
	b	.L8
.L7:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L8
	mov	r2, #0
	ldr	r3, .L11+20
	ldr	r0, [fp, #-1172]
	ldr	r1, [fp, #-1168]
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1172]
	str	r3, [fp, #-1168]
	ldr	r2, [fp, #-1172]
	ldr	r3, [fp, #-1168]
	ldr	r0, .L11+16
	bl	printf
.L8:
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1076363264
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
