	.file	"181393436.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rbx, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rbx
	xor	ebx, ebx
	mov	rcx, rsp
	mov	r15, rcx
	mov	DWORD PTR -96[rbp], 1000
	mov	ecx, DWORD PTR -96[rbp]
	mov	DWORD PTR -92[rbp], ecx
	mov	ecx, DWORD PTR -96[rbp]
	mov	DWORD PTR -88[rbp], ecx
	mov	ecx, DWORD PTR -88[rbp]
	mov	esi, DWORD PTR -92[rbp]
	movsx	rdi, ecx
	sub	rdi, 1
	mov	QWORD PTR -80[rbp], rdi
	movsx	rdi, ecx
	mov	QWORD PTR -144[rbp], rdi
	mov	QWORD PTR -136[rbp], 0
	movsx	rdi, ecx
	lea	rbx, 0[0+rdi*8]
	movsx	rdi, esi
	sub	rdi, 1
	mov	QWORD PTR -72[rbp], rdi
	movsx	rdi, ecx
	mov	r12, rdi
	mov	r13d, 0
	movsx	rdi, esi
	mov	rax, rdi
	mov	edx, 0
	mov	r14, r13
	imul	r14, rax
	mov	rdi, rdx
	imul	rdi, r12
	add	rdi, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -64[rbp], rax
	cmp	DWORD PTR -116[rbp], 1
	jle	.L5
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -96[rbp], eax
.L5:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	mov	rcx, rbx
	shr	rcx, 3
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -104[rbp], 1
.L7:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L8
	add	DWORD PTR -100[rbp], 1
.L6:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L9
	mov	DWORD PTR -100[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -104[rbp], 1
	jmp	.L11
.L12:
	mov	rsi, rbx
	shr	rsi, 3
	mov	eax, DWORD PTR -104[rbp]
	lea	edx, -1[rax]
	mov	rcx, rbx
	shr	rcx, 3
	mov	rax, QWORD PTR -64[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	add	rdx, rdi
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -104[rbp], 1
.L11:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L12
	add	DWORD PTR -100[rbp], 1
.L10:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L13
	mov	DWORD PTR -100[rbp], 0
	jmp	.L14
.L17:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L15
.L16:
	mov	rcx, rbx
	shr	rcx, 3
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	rax, QWORD PTR [rax+rdx*8]
	movq	xmm0, rax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L15:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L16
	add	DWORD PTR -100[rbp], 1
.L14:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L17
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR -84[rbp]
	mov	rsp, r15
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"181393436.c"
	.text
	.global	__aeabi_i2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #52
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #1000
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-52]
	ldr	ip, [fp, #-52]
	ldr	lr, [fp, #-56]
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r6, r3, #3
	sub	r3, lr, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-60]
.L2:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L4
.L5:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	lsr	r4, r6, #3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-40]
	ldr	r1, [fp, #-64]
	mul	ip, r1, r4
	ldr	r1, [fp, #-68]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L4:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L3:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L7
.L10:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L8
.L9:
	lsr	r0, r6, #3
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	lsr	r1, r6, #3
	ldr	r2, [fp, #-40]
	ldr	ip, [fp, #-64]
	mul	r0, ip, r0
	add	r3, r0, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-40]
	ldr	ip, [fp, #-64]
	mul	ip, r1, ip
	ldr	r1, [fp, #-68]
	add	r1, ip, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L8:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L7:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L11
.L14:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L12
.L13:
	lsr	r3, r6, #3
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-64]
	mul	r1, r3, r1
	ldr	r3, [fp, #-68]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L17+4
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L12:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L11:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	mov	sp, r8
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
