	.file	"208910.c"
	.intel_syntax noprefix
	.text
	.type	entropy, @function
entropy:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L3
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L5
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	je	.L10
.L5:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	fld	QWORD PTR -64[rbp]
	fstp	TBYTE PTR -64[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	fld	QWORD PTR -72[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	call	log2l@PLT
	add	rsp, 16
	fld	TBYTE PTR -64[rbp]
	fmulp	st(1), st
	fld	QWORD PTR -16[rbp]
	fsubrp	st(1), st
	fstp	QWORD PTR -16[rbp]
	jmp	.L7
.L10:
	nop
.L7:
	add	QWORD PTR -8[rbp], 1
.L4:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L8
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	entropy, .-entropy
	.section	.rodata
.LC2:
	.string	"numbers of instances = "
.LC3:
	.string	"%lu"
.LC4:
	.string	"number of nodes = "
	.align 8
.LC5:
	.string	"number of attribute for every node = "
	.align 8
.LC6:
	.string	"\nadd every attribute in the node\n"
.LC7:
	.string	"Node %lu , attribute %lu = "
.LC8:
	.string	"%lf"
	.align 8
.LC9:
	.string	"Entropy of this node %lu is H[x] = %F\n"
	.align 8
.LC10:
	.string	"Information gain for this entry IG(x) = %F\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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, 232
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -264[rbp], rax
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rax, -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rsi, QWORD PTR -160[rbp]
	mov	rdi, QWORD PTR -168[rbp]
	mov	rax, rsi
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	mov	r12, rsi
	mov	r13d, 0
	lea	r12, 0[0+rsi*8]
	mov	rax, rdi
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -192[rbp], rsi
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -208[rbp], rdi
	mov	QWORD PTR -200[rbp], 0
	mov	r10, QWORD PTR -192[rbp]
	mov	r11, QWORD PTR -184[rbp]
	mov	rdx, r11
	mov	r8, QWORD PTR -208[rbp]
	mov	r9, QWORD PTR -200[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	mov	QWORD PTR -224[rbp], rsi
	mov	QWORD PTR -216[rbp], 0
	mov	r14, rdi
	mov	r15d, 0
	mov	r8, QWORD PTR -224[rbp]
	mov	r9, QWORD PTR -216[rbp]
	mov	rdx, r9
	imul	rdx, r14
	mov	rax, r8
	imul	rax, r15
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	mov	rax, rsi
	imul	rax, rdi
	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
.L12:
	cmp	rsp, rdx
	je	.L13
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L12
.L13:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L14
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L14:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	QWORD PTR -104[rbp], 0
	jmp	.L15
.L18:
	mov	QWORD PTR -112[rbp], 0
	jmp	.L16
.L17:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, r12
	shr	rax, 3
	imul	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	QWORD PTR -112[rbp], 1
.L16:
	mov	rax, QWORD PTR -160[rbp]
	cmp	QWORD PTR -112[rbp], rax
	jb	.L17
	add	QWORD PTR -104[rbp], 1
.L15:
	mov	rax, QWORD PTR -168[rbp]
	cmp	QWORD PTR -104[rbp], rax
	jb	.L18
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	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
.L19:
	cmp	rsp, rdx
	je	.L20
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L19
.L20:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L21
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L21:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, r12
	shr	rdx, 3
	imul	rdx, QWORD PTR -120[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rdx, rcx
	mov	rsi, rax
	mov	rdi, rdx
	call	entropy
	movq	rax, xmm0
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	QWORD PTR [rdx+rcx*8], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -120[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -120[rbp], 1
.L22:
	mov	rax, QWORD PTR -168[rbp]
	cmp	QWORD PTR -120[rbp], rax
	jb	.L23
	pxor	xmm0, xmm0
	movsd	QWORD PTR -128[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -136[rbp], xmm0
	mov	QWORD PTR -144[rbp], 1
	jmp	.L24
.L29:
	mov	QWORD PTR -152[rbp], 0
	jmp	.L25
.L26:
	mov	rdx, r12
	shr	rdx, 3
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	imul	rcx, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	movsd	xmm1, QWORD PTR -128[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
	add	QWORD PTR -152[rbp], 1
.L25:
	mov	rax, QWORD PTR -160[rbp]
	cmp	QWORD PTR -152[rbp], rax
	jb	.L26
	mov	rax, QWORD PTR -176[rbp]
	test	rax, rax
	js	.L27
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L28
.L27:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L28:
	movsd	xmm1, QWORD PTR -128[rbp]
	divsd	xmm1, xmm0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -136[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -136[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -128[rbp], xmm0
	add	QWORD PTR -144[rbp], 1
.L24:
	mov	rax, QWORD PTR -168[rbp]
	cmp	QWORD PTR -144[rbp], rax
	jb	.L29
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -136[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -136[rbp], xmm0
	mov	rax, QWORD PTR -136[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rsp, rbx
	mov	rsp, QWORD PTR -264[rbp]
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"208910.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	entropy, %function
entropy:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L2
.L3:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
.L2:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L3
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L4
.L8:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log2l
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L7
.L10:
	nop
.L7:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
.L4:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L8
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	entropy, .-entropy
	.section	.rodata
	.align	2
.LC0:
	.ascii	"numbers of instances = \000"
	.align	2
.LC1:
	.ascii	"%lu\000"
	.align	2
.LC2:
	.ascii	"number of nodes = \000"
	.align	2
.LC3:
	.ascii	"number of attribute for every node = \000"
	.align	2
.LC4:
	.ascii	"\012add every attribute in the node\012\000"
	.align	2
.LC5:
	.ascii	"Node %lu , attribute %lu = \000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.align	2
.LC7:
	.ascii	"Entropy of this node %lu is H[x] = %F\012\000"
	.global	__aeabi_ul2d
	.align	2
.LC8:
	.ascii	"Information gain for this entry IG(x) = %F\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #96
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L24+8
	bl	fwrite
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L24+16
	bl	fwrite
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L24+20
	bl	fwrite
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L24+12
	bl	__isoc99_scanf
	sub	r9, fp, #60
	ldmia	r9, {r8-r9}
	sub	r5, fp, #68
	ldmia	r5, {r4-r5}
	mov	r3, r8
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, r8
	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, r8
	lsl	r6, r3, #3
	mov	r1, r4
	mov	r2, r5
	mov	r3, r1
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	mov	r3, r8
	mov	r4, r3
	mov	r5, #0
	str	r1, [fp, #-124]
	str	r2, [fp, #-120]
	mov	r3, r1
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, 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, r8
	mov	r4, r3
	mov	r5, #0
	ldr	r3, [fp, #-124]
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, 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, r8
	ldr	r2, [fp, #-124]
	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, #-88]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L24+24
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L13
.L14:
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-100]
	ldr	r0, .L24+28
	bl	printf
	lsr	r3, r6, #3
	ldr	r2, [fp, #-100]
	mul	r2, r3, r2
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L24+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L13:
	ldr	r3, [fp, #-104]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L14
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L12:
	ldr	r3, [fp, #-100]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L15
	sub	r5, fp, #68
	ldmia	r5, {r4-r5}
	mov	r3, sp
	mov	r8, r3
	mov	r3, r4
	sub	r3, r3, #1
	str	r3, [fp, #-84]
	mov	r3, r4
	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, r4
	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, r4
	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, #-80]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L16
.L17:
	lsr	r3, r6, #3
	ldr	r2, [fp, #-108]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r1, r2, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	entropy
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-80]
	ldr	r1, [fp, #-108]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-108]
	ldr	r0, .L24+36
	bl	printf
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L16:
	ldr	r3, [fp, #-108]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L17
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-112]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L19
.L20:
	lsr	r3, r6, #3
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-112]
	mul	r1, r3, r1
	ldr	r3, [fp, #-116]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L19:
	ldr	r3, [fp, #-116]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L20
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L18:
	ldr	r3, [fp, #-112]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L21
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L24+40
	bl	printf
	mov	sp, r8
	mov	sp, r7
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC9
	.word	stdout
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
