	.file	"211702.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"%c"
.LC2:
	.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, 1184
	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, -1179[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	BYTE PTR -1178[rbp], 0
	jmp	.L2
.L5:
	mov	BYTE PTR -1177[rbp], 0
	jmp	.L3
.L4:
	movzx	eax, BYTE PTR -1178[rbp]
	movzx	edx, BYTE PTR -1177[rbp]
	lea	rcx, -1168[rbp]
	movsx	rsi, edx
	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, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -1177[rbp]
	add	eax, 1
	mov	BYTE PTR -1177[rbp], al
.L3:
	cmp	BYTE PTR -1177[rbp], 11
	jbe	.L4
	movzx	eax, BYTE PTR -1178[rbp]
	add	eax, 1
	mov	BYTE PTR -1178[rbp], al
.L2:
	cmp	BYTE PTR -1178[rbp], 11
	jbe	.L5
	mov	BYTE PTR -1178[rbp], 0
	jmp	.L6
.L9:
	mov	BYTE PTR -1177[rbp], 0
	jmp	.L7
.L8:
	movzx	eax, BYTE PTR -1178[rbp]
	movzx	edx, BYTE PTR -1177[rbp]
	movsx	rcx, edx
	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
	movzx	eax, BYTE PTR -1177[rbp]
	add	eax, 1
	mov	BYTE PTR -1177[rbp], al
.L7:
	movzx	eax, BYTE PTR -1177[rbp]
	movzx	ecx, BYTE PTR -1178[rbp]
	mov	edx, 11
	sub	edx, ecx
	cmp	eax, edx
	jl	.L8
	movzx	eax, BYTE PTR -1178[rbp]
	add	eax, 1
	mov	BYTE PTR -1178[rbp], al
.L6:
	cmp	BYTE PTR -1178[rbp], 11
	jbe	.L9
	movzx	eax, BYTE PTR -1179[rbp]
	cmp	al, 77
	jne	.L10
	movsd	xmm0, QWORD PTR -1176[rbp]
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -1176[rbp], xmm0
.L10:
	mov	rax, QWORD PTR -1176[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1079017472
	.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	"211702.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"%.1lf\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	sub	sp, sp, #8
	ldr	r3, .L13
	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, #3
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	mov	r3, #0
	strb	r3, [fp, #-1174]
	b	.L2
.L5:
	mov	r3, #0
	strb	r3, [fp, #-1173]
	b	.L3
.L4:
	ldrb	r1, [fp, #-1174]	@ zero_extendqisi2
	ldrb	r0, [fp, #-1173]	@ zero_extendqisi2
	sub	r2, fp, #1152
	sub	r2, r2, #4
	sub	r2, r2, #8
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-1173]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-1173]
.L3:
	ldrb	r3, [fp, #-1173]	@ zero_extendqisi2
	cmp	r3, #11
	bls	.L4
	ldrb	r3, [fp, #-1174]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-1174]
.L2:
	ldrb	r3, [fp, #-1174]	@ zero_extendqisi2
	cmp	r3, #11
	bls	.L5
	mov	r3, #0
	strb	r3, [fp, #-1174]
	b	.L6
.L9:
	mov	r3, #0
	strb	r3, [fp, #-1173]
	b	.L7
.L8:
	ldrb	r2, [fp, #-1174]	@ zero_extendqisi2
	ldrb	r1, [fp, #-1173]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	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]
	ldrb	r3, [fp, #-1173]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-1173]
.L7:
	ldrb	r2, [fp, #-1173]	@ zero_extendqisi2
	ldrb	r3, [fp, #-1174]	@ zero_extendqisi2
	rsb	r3, r3, #11
	cmp	r2, r3
	blt	.L8
	ldrb	r3, [fp, #-1174]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-1174]
.L6:
	ldrb	r3, [fp, #-1174]	@ zero_extendqisi2
	cmp	r3, #11
	bls	.L9
	ldrb	r3, [fp, #-1175]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L10
	mov	r2, #0
	ldr	r3, .L13+12
	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]
.L10:
	ldr	r2, [fp, #-1172]
	ldr	r3, [fp, #-1168]
	ldr	r0, .L13+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	1079017472
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
