	.file	"413078.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"w"
.LC3:
	.string	"3c2a.txt"
.LC4:
	.string	"%lf\t%d\n"
.LC5:
	.string	"3c2b.txt"
.LC6:
	.string	"%lf\t%lf\t%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	r12
	push	rbx
	sub	rsp, 176
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	DWORD PTR -144[rbp], 10000
	mov	DWORD PTR -148[rbp], 5
	mov	DWORD PTR -152[rbp], 2
	mov	edx, DWORD PTR -144[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, edx
	mov	rcx, rax
	mov	ebx, 0
	movsx	rax, edx
	mov	rsi, rax
	mov	edi, 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L2:
	cmp	rsp, rcx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L4
	mov	rax, rdx
	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 -120[rbp], rax
	mov	edx, DWORD PTR -144[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -112[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L11
.L12:
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -148[rbp]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -148[rbp]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -136[rbp], 1
.L11:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L12
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR -152[rbp]
	imul	eax, DWORD PTR -148[rbp]
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	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
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L16
.L22:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	mov	DWORD PTR -136[rbp], 0
	jmp	.L17
.L21:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -140[rbp]
	mulsd	xmm1, QWORD PTR -80[rbp]
	comisd	xmm0, xmm1
	jb	.L18
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -80[rbp]
	comisd	xmm0, xmm1
	jbe	.L18
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L18:
	add	DWORD PTR -136[rbp], 1
.L17:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L21
	add	DWORD PTR -140[rbp], 1
.L16:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L22
	mov	QWORD PTR -56[rbp], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -140[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movq	rcx, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -140[rbp], 1
.L23:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L24
	mov	QWORD PTR -48[rbp], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -48[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	add	DWORD PTR -136[rbp], 1
.L25:
	mov	eax, DWORD PTR -144[rbp]
	sub	eax, 2
	cmp	DWORD PTR -136[rbp], eax
	jl	.L26
	mov	rsp, rbx
	mov	rsp, r12
	mov	eax, 0
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-4194304
	.long	1105199103
	.align 8
.LC1:
	.long	-1717986918
	.long	1069128089
	.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	"413078.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmpge
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"3c2a.txt\000"
	.align	2
.LC2:
	.ascii	"%lf\011%d\012\000"
	.align	2
.LC3:
	.ascii	"3c2b.txt\000"
	.align	2
.LC4:
	.ascii	"%lf\011%lf\011%lf\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #96
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r3, .L19+4
	str	r3, [fp, #-88]
	mov	r3, #5
	str	r3, [fp, #-92]
	mov	r3, #2
	str	r3, [fp, #-96]
	ldr	ip, [fp, #-88]
	sub	r3, ip, #1
	str	r3, [fp, #-100]
	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
	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	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-76]
	ldr	ip, [fp, #-88]
	sub	r3, ip, #1
	str	r3, [fp, #-72]
	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
	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	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-68]
	ldr	ip, [fp, #-88]
	sub	r3, ip, #1
	str	r3, [fp, #-64]
	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
	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	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L3:
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L19+8
	ldr	r3, .L19+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-92]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-76]
	ldr	r1, [fp, #-80]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L19+8
	ldr	r3, .L19+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-92]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-68]
	ldr	r1, [fp, #-80]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-80]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L2:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L3
	ldr	r2, .L19+16
	ldr	r3, .L19+20
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	ip, [fp, #-56]
	mov	r3, sp
	mov	r7, r3
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L4
.L10:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-84]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L5
.L9:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-84]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-84]
	str	r1, [r3, r2, lsl #2]
.L6:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L5:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L4:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r1, .L19+24
	ldr	r0, .L19+28
	bl	fopen
	str	r0, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L11
.L12:
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-84]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L19+32
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L11:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L19+24
	ldr	r0, .L19+36
	bl	fopen
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L13
.L14:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-80]
	add	r1, r1, #2
	ldr	r0, [fp, #-60]
	lsl	r1, r1, #3
	add	r1, r0, r1
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L19+40
	ldr	r0, [fp, #-40]
	bl	fprintf
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L13:
	ldr	r3, [fp, #-88]
	sub	r3, r3, #2
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L14
	mov	sp, r7
	mov	sp, r6
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	10000
	.word	-4194304
	.word	1105199103
	.word	-1717986918
	.word	1069128089
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
