	.file	"239207.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%Lf"
.LC4:
	.string	"Case #%d: %6Lf\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, 3328
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -3300[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -3284[rbp], 1
	jmp	.L2
.L24:
	lea	rdx, -3308[rbp]
	lea	rax, -3304[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -3280[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -3296[rbp], 0
	jmp	.L3
.L4:
	lea	rdx, -3216[rbp]
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -3296[rbp], 1
.L3:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3296[rbp], eax
	jl	.L4
	mov	DWORD PTR -3296[rbp], 0
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -3296[rbp]
	add	eax, 1
	mov	DWORD PTR -3292[rbp], eax
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -3292[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	fxch	st(1)
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L7
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -3232[rbp]
	mov	eax, DWORD PTR -3292[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fstp	TBYTE PTR [rax]
	mov	eax, DWORD PTR -3292[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR -3232[rbp]
	fstp	TBYTE PTR [rax]
.L7:
	add	DWORD PTR -3292[rbp], 1
.L6:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3292[rbp], eax
	jl	.L9
	add	DWORD PTR -3296[rbp], 1
.L5:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3296[rbp], eax
	jl	.L10
	fld	TBYTE PTR -3216[rbp]
	fstp	TBYTE PTR -1616[rbp]
	mov	DWORD PTR -3296[rbp], 1
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -3296[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1616
	fld	TBYTE PTR [rax]
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	faddp	st(1), st
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1616
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -3296[rbp], 1
.L11:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3296[rbp], eax
	jl	.L12
	mov	DWORD PTR -3288[rbp], 0
	jmp	.L13
.L17:
	mov	eax, DWORD PTR -3288[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1616
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -3280[rbp]
	faddp	st(1), st
	mov	eax, DWORD PTR -3288[rbp]
	add	eax, 1
	mov	DWORD PTR -3316[rbp], eax
	fild	DWORD PTR -3316[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR -3248[rbp]
	mov	eax, DWORD PTR -3288[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR -3248[rbp]
	fld	TBYTE PTR [rax]
	fcomip	st, st(1)
	fstp	st(0)
	ja	.L28
	add	DWORD PTR -3288[rbp], 1
.L13:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3288[rbp], eax
	jl	.L17
	jmp	.L16
.L28:
	nop
.L16:
	fld1
	fstp	TBYTE PTR -3264[rbp]
	mov	eax, DWORD PTR -3288[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1616
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -3280[rbp]
	faddp	st(1), st
	fild	DWORD PTR -3288[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR -3248[rbp]
	mov	DWORD PTR -3296[rbp], 0
	jmp	.L18
.L19:
	fld	TBYTE PTR -3264[rbp]
	fld	TBYTE PTR -3248[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -3264[rbp]
	add	DWORD PTR -3296[rbp], 1
.L18:
	mov	eax, DWORD PTR -3296[rbp]
	cmp	eax, DWORD PTR -3288[rbp]
	jl	.L19
	mov	eax, DWORD PTR -3288[rbp]
	mov	DWORD PTR -3296[rbp], eax
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -3296[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 3216
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -3264[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -3264[rbp]
	add	DWORD PTR -3296[rbp], 1
.L20:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3296[rbp], eax
	jl	.L21
	mov	DWORD PTR -3296[rbp], 0
	jmp	.L22
.L23:
	add	DWORD PTR -3296[rbp], 1
.L22:
	mov	eax, DWORD PTR -3304[rbp]
	cmp	DWORD PTR -3296[rbp], eax
	jl	.L23
	mov	eax, DWORD PTR -3284[rbp]
	push	QWORD PTR -3256[rbp]
	push	QWORD PTR -3264[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -3284[rbp], 1
.L2:
	mov	eax, DWORD PTR -3300[rbp]
	cmp	DWORD PTR -3284[rbp], eax
	jle	.L24
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"239207.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d%d\000"
	.align	2
.LC2:
	.ascii	"%Lf\000"
	.global	__aeabi_dcmpgt
	.global	__aeabi_dadd
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dcmplt
	.global	__aeabi_dmul
	.align	2
.LC3:
	.ascii	"Case #%d: %6Lf\012\000"
	.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 = 1672
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1664
	sub	sp, sp, #8
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #1648
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L29+4
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-1656]
	b	.L2
.L24:
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #1664
	sub	r1, r1, #12
	mov	r2, r3
	ldr	r0, .L29+8
	bl	__isoc99_scanf
	sub	r3, fp, #1632
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1668]
	b	.L3
.L4:
	sub	r3, fp, #1600
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1668]
	lsl	r2, r2, #3
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L3:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1668]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-1668]
	b	.L5
.L10:
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1664]
	b	.L6
.L9:
	ldr	r3, [fp, #-1668]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-1664]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-1668]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-1628]
	str	r3, [fp, #-1624]
	ldr	r3, [fp, #-1664]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-1668]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-1664]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldr	r0, [fp, #-1628]
	ldr	r1, [fp, #-1624]
	stm	r3, {r0-r1}
.L7:
	ldr	r3, [fp, #-1664]
	add	r3, r3, #1
	str	r3, [fp, #-1664]
.L6:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1664]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L5:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1668]
	cmp	r2, r3
	blt	.L10
	ldr	r2, [fp, #-1620]
	ldr	r3, [fp, #-1616]
	str	r2, [fp, #-820]
	str	r3, [fp, #-816]
	mov	r3, #1
	str	r3, [fp, #-1668]
	b	.L11
.L12:
	ldr	r3, [fp, #-1668]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-1668]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-1668]
	lsl	r1, r1, #3
	sub	r0, fp, #12
	add	r1, r0, r1
	sub	r1, r1, #808
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L11:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1668]
	cmp	r2, r3
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-1660]
	b	.L13
.L17:
	ldr	r3, [fp, #-1660]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-1652]
	ldr	r3, [fp, #-1648]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-1660]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1636]
	str	r3, [fp, #-1632]
	ldr	r3, [fp, #-1660]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1636]
	ldr	r1, [fp, #-1632]
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-1660]
	add	r3, r3, #1
	str	r3, [fp, #-1660]
.L13:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1660]
	cmp	r2, r3
	blt	.L17
	b	.L16
.L28:
	nop
.L16:
	mov	r2, #0
	ldr	r3, .L29+16
	str	r2, [fp, #-1644]
	str	r3, [fp, #-1640]
	ldr	r3, [fp, #-1660]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #808
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-1652]
	ldr	r3, [fp, #-1648]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-1660]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1636]
	str	r3, [fp, #-1632]
	mov	r3, #0
	str	r3, [fp, #-1668]
	b	.L18
.L19:
	ldr	r2, [fp, #-1636]
	ldr	r3, [fp, #-1632]
	ldr	r0, [fp, #-1644]
	ldr	r1, [fp, #-1640]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1644]
	str	r3, [fp, #-1640]
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L18:
	ldr	r2, [fp, #-1668]
	ldr	r3, [fp, #-1660]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-1660]
	str	r3, [fp, #-1668]
	b	.L20
.L21:
	ldr	r3, [fp, #-1668]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-1644]
	ldr	r1, [fp, #-1640]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1644]
	str	r3, [fp, #-1640]
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L20:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1668]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-1668]
	b	.L22
.L23:
	ldr	r3, [fp, #-1668]
	add	r3, r3, #1
	str	r3, [fp, #-1668]
.L22:
	ldr	r3, [fp, #-1676]
	ldr	r2, [fp, #-1668]
	cmp	r2, r3
	blt	.L23
	ldr	r2, [fp, #-1644]
	ldr	r3, [fp, #-1640]
	ldr	r1, [fp, #-1656]
	ldr	r0, .L29+20
	bl	printf
	ldr	r3, [fp, #-1656]
	add	r3, r3, #1
	str	r3, [fp, #-1656]
.L2:
	ldr	r3, [fp, #-1672]
	ldr	r2, [fp, #-1656]
	cmp	r2, r3
	ble	.L24
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1072693248
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
