	.file	"322488.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"%i %i %i %i"
.LC2:
	.string	"%lf"
.LC3:
	.string	"impossivel"
.LC4:
	.string	"%.2lf "
	.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
	lea	r11, -159744[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160024[rbp], xmm0
	lea	rsi, -160056[rbp]
	lea	rcx, -160060[rbp]
	lea	rdx, -160064[rbp]
	lea	rax, -160068[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -160052[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -160048[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -160016[rbp]
	mov	eax, DWORD PTR -160048[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -160052[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	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
	add	DWORD PTR -160048[rbp], 1
.L3:
	mov	eax, DWORD PTR -160064[rbp]
	cmp	DWORD PTR -160048[rbp], eax
	jl	.L4
	add	DWORD PTR -160052[rbp], 1
.L2:
	mov	eax, DWORD PTR -160068[rbp]
	cmp	DWORD PTR -160052[rbp], eax
	jl	.L5
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -160040[rbp], 0
	jmp	.L7
.L8:
	lea	rcx, -80016[rbp]
	mov	eax, DWORD PTR -160040[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -160044[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	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
	add	DWORD PTR -160040[rbp], 1
.L7:
	mov	eax, DWORD PTR -160056[rbp]
	cmp	DWORD PTR -160040[rbp], eax
	jl	.L8
	add	DWORD PTR -160044[rbp], 1
.L6:
	mov	eax, DWORD PTR -160060[rbp]
	cmp	DWORD PTR -160044[rbp], eax
	jl	.L9
	mov	edx, DWORD PTR -160064[rbp]
	mov	eax, DWORD PTR -160060[rbp]
	cmp	edx, eax
	je	.L10
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L18
.L10:
	mov	DWORD PTR -160036[rbp], 0
	jmp	.L12
.L17:
	mov	DWORD PTR -160032[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -160028[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -160028[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -160036[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm1, QWORD PTR -160016[rbp+rax*8]
	mov	eax, DWORD PTR -160032[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -160028[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -80016[rbp+rax*8]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -160024[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -160024[rbp], xmm0
	add	DWORD PTR -160028[rbp], 1
.L14:
	mov	eax, DWORD PTR -160064[rbp]
	cmp	DWORD PTR -160028[rbp], eax
	jl	.L15
	mov	rax, QWORD PTR -160024[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160024[rbp], xmm0
	add	DWORD PTR -160032[rbp], 1
.L13:
	mov	eax, DWORD PTR -160056[rbp]
	cmp	DWORD PTR -160032[rbp], eax
	jl	.L16
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -160036[rbp], 1
.L12:
	mov	eax, DWORD PTR -160068[rbp]
	cmp	DWORD PTR -160036[rbp], eax
	jl	.L17
	mov	eax, 0
.L18:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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	"322488.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i %i %i %i\000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.align	2
.LC2:
	.ascii	"impossivel\000"
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC3:
	.ascii	"%.2lf \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 = 160064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #159744
	sub	sp, sp, #332
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r0, fp, #159744
	sub	r0, r0, #12
	sub	r0, r0, #308
	sub	r2, fp, #159744
	sub	r2, r2, #12
	sub	r2, r2, #312
	sub	r1, fp, #159744
	sub	r1, r1, #12
	sub	r1, r1, #316
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #304
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L20+4
	bl	__isoc99_scanf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-300]
	b	.L2
.L5:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-296]
	b	.L3
.L4:
	sub	r2, fp, #159744
	sub	r2, r2, #12
	sub	r2, r2, #264
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r1, [r3, #-300]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #159744
	sub	r1, r1, #12
	ldr	r1, [r1, #-296]
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-296]
	add	r3, r3, #1
	str	r3, [r2, #-296]
.L3:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-296]
	cmp	r2, r3
	blt	.L4
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-300]
	add	r3, r3, #1
	str	r3, [r2, #-300]
.L2:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-300]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-292]
	b	.L6
.L9:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	b	.L7
.L8:
	sub	r2, fp, #79872
	sub	r2, r2, #12
	sub	r2, r2, #136
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r1, [r3, #-292]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #159744
	sub	r1, r1, #12
	ldr	r1, [r1, #-288]
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L7:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-304]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-288]
	cmp	r2, r3
	blt	.L8
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-292]
	add	r3, r3, #1
	str	r3, [r2, #-292]
.L6:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-308]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-292]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r3, #-312]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-308]
	cmp	r2, r3
	beq	.L10
	ldr	r0, .L20+12
	bl	puts
	mov	r3, #0
	b	.L18
.L10:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-284]
	b	.L12
.L17:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-280]
	b	.L13
.L16:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-276]
	b	.L14
.L15:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r3, #-284]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-276]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #264
	ldmia	r3, {r0-r1}
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r3, #-276]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-280]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	sub	r3, r3, #2176
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	r4, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	ip, r3
	mov	r2, r0
	mov	r3, r1
	ldmia	ip, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-276]
	add	r3, r3, #1
	str	r3, [r2, #-276]
.L14:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-276]
	cmp	r2, r3
	blt	.L15
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	ldmia	r3, {r2-r3}
	ldr	r0, .L20+16
	bl	printf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-280]
	add	r3, r3, #1
	str	r3, [r2, #-280]
.L13:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-304]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-280]
	cmp	r2, r3
	blt	.L16
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-284]
	add	r3, r3, #1
	str	r3, [r2, #-284]
.L12:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-284]
	cmp	r2, r3
	blt	.L17
	mov	r3, #0
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
