	.file	"903458.c"
	.intel_syntax noprefix
	.text
	.globl	V
	.bss
	.align 32
	.type	V, @object
	.size	V, 4800000
V:
	.zero	4800000
	.globl	R
	.align 32
	.type	R, @object
	.size	R, 1600
R:
	.zero	1600
	.globl	A
	.align 32
	.type	A, @object
	.size	A, 800
A:
	.zero	800
	.section	.rodata
.LC0:
	.string	"iter %d\n"
	.text
	.globl	kmean
	.type	kmean, @function
kmean:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -2400256[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1424
	mov	DWORD PTR -2401652[rbp], edi
	mov	DWORD PTR -2401656[rbp], esi
	mov	QWORD PTR -2401664[rbp], rdx
	mov	QWORD PTR -2401672[rbp], rcx
	mov	QWORD PTR -2401680[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2401636[rbp], 0
.L14:
	mov	DWORD PTR -2401648[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -2401640[rbp], 0
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401664[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -2401672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	mov	QWORD PTR -2401632[rbp], rax
	mov	DWORD PTR -2401644[rbp], 1
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401664[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	eax, DWORD PTR -2401644[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401672[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	cmp	QWORD PTR -2401632[rbp], rax
	jle	.L4
	mov	eax, DWORD PTR -2401644[rbp]
	mov	DWORD PTR -2401640[rbp], eax
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401664[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	eax, DWORD PTR -2401644[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401672[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	mov	QWORD PTR -2401632[rbp], rax
.L4:
	add	DWORD PTR -2401644[rbp], 1
.L3:
	mov	eax, DWORD PTR -2401644[rbp]
	cmp	eax, DWORD PTR -2401656[rbp]
	jl	.L5
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	edx, DWORD PTR -2401640[rbp]
	mov	DWORD PTR -2400016[rbp+rax*4], edx
	add	DWORD PTR -2401648[rbp], 1
.L2:
	mov	eax, DWORD PTR -2401648[rbp]
	cmp	eax, DWORD PTR -2401652[rbp]
	jl	.L6
	mov	DWORD PTR -2401648[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2401680[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	QWORD PTR -2401616[rbp+rax*8], 0
	add	DWORD PTR -2401648[rbp], 1
.L7:
	mov	eax, DWORD PTR -2401648[rbp]
	cmp	eax, DWORD PTR -2401656[rbp]
	jl	.L8
	mov	DWORD PTR -2401648[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	eax, DWORD PTR -2400016[rbp+rax*4]
	cdqe
	mov	rcx, QWORD PTR -2401616[rbp+rax*8]
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401664[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	eax, DWORD PTR -2400016[rbp+rax*4]
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -2401616[rbp+rax*8], rdx
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	eax, DWORD PTR -2400016[rbp+rax*4]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2401680[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -2401648[rbp], 1
.L9:
	mov	eax, DWORD PTR -2401648[rbp]
	cmp	eax, DWORD PTR -2401652[rbp]
	jl	.L10
	mov	QWORD PTR -2401632[rbp], 0
	mov	DWORD PTR -2401648[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401672[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -2401624[rbp], rax
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2401680[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	mov	rax, QWORD PTR -2401616[rbp+rax*8]
	mov	edx, DWORD PTR -2401648[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -2401680[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR [rdx]
	movsx	rdi, edx
	mov	ecx, DWORD PTR -2401648[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*8]
	mov	rcx, QWORD PTR -2401672[rbp]
	add	rcx, rsi
	cqo
	idiv	rdi
	mov	QWORD PTR [rcx], rax
.L12:
	mov	rax, QWORD PTR -2401624[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2401648[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -2401672[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	add	QWORD PTR -2401632[rbp], rax
	add	DWORD PTR -2401648[rbp], 1
.L11:
	mov	eax, DWORD PTR -2401648[rbp]
	cmp	eax, DWORD PTR -2401656[rbp]
	jl	.L13
	add	DWORD PTR -2401636[rbp], 1
	cmp	QWORD PTR -2401632[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -2401636[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	kmean, .-kmean
	.globl	qs
	.type	qs, @function
qs:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	QWORD PTR -80[rbp], rdx
	mov	QWORD PTR -88[rbp], rcx
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	QWORD PTR -40[rbp], rax
	jmp	.L17
.L19:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jge	.L18
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -56[rbp], 1
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	QWORD PTR -40[rbp], rax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	sub	DWORD PTR -52[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
.L17:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jle	.L19
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jge	.L20
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	qs
.L20:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jge	.L22
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	qs
.L22:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	qs, .-qs
	.section	.rodata
.LC1:
	.string	"R[%d] : %ld te %d agrupats\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], 0
	jmp	.L24
.L25:
	call	rand@PLT
	mov	ebx, eax
	call	rand@PLT
	mov	esi, eax
	mov	eax, ebx
	cdq
	idiv	esi
	mov	ecx, edx
	mov	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1876499845
	shr	rdx, 32
	sar	edx, 18
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, V[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -20[rbp], 1
.L24:
	cmp	DWORD PTR -20[rbp], 599999
	jle	.L25
	mov	DWORD PTR -20[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, V[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, R[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -20[rbp], 1
.L26:
	cmp	DWORD PTR -20[rbp], 199
	jle	.L27
	lea	r8, A[rip]
	lea	rcx, R[rip]
	lea	rdx, V[rip]
	mov	esi, 200
	mov	edi, 600000
	call	kmean
	lea	rcx, A[rip]
	lea	rdx, R[rip]
	mov	esi, 199
	mov	edi, 0
	call	qs
	mov	DWORD PTR -20[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, R[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L28:
	cmp	DWORD PTR -20[rbp], 199
	jle	.L29
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"903458.c"
	.text
	.comm	V,2400000,4
	.comm	R,800,4
	.comm	A,800,4
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"iter %d\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kmean
	.syntax unified
	.arm
	.fpu softvfp
	.type	kmean, %function
kmean:
	@ args = 4, pretend = 0, frame = 2400856
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2392064
	sub	sp, sp, #8768
	sub	sp, sp, #28
	sub	ip, fp, #2392064
	sub	ip, ip, #12
	sub	ip, ip, #8192
	str	r0, [ip, #-580]
	sub	r0, fp, #2392064
	sub	r0, r0, #12
	sub	r0, r0, #8192
	str	r1, [r0, #-584]
	sub	r1, fp, #2392064
	sub	r1, r1, #12
	sub	r1, r1, #8192
	str	r2, [r1, #-588]
	sub	r2, fp, #2392064
	sub	r2, r2, #12
	sub	r2, r2, #8192
	str	r3, [r2, #-592]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r3, [r2, #-596]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-560]
.L14:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
	b	.L2
.L6:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-564]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-588]
	add	r3, r3, r2
	ldr	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	ldr	r3, [r3]
	sub	r2, r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	eor	r3, r2, r2, asr #31
	sub	r3, r3, r2, asr #31
	str	r3, [r1, #-556]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-568]
	b	.L3
.L5:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-588]
	add	r3, r3, r2
	ldr	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-568]
	lsl	r1, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	add	r3, r3, r1
	ldr	r3, [r3]
	sub	r3, r2, r3
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-556]
	cmp	r3, r2
	ble	.L4
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-568]
	str	r3, [r2, #-564]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-588]
	add	r3, r3, r2
	ldr	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-568]
	lsl	r1, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	add	r3, r3, r1
	ldr	r3, [r3]
	sub	r2, r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	eor	r3, r2, r2, asr #31
	sub	r3, r3, r2, asr #31
	str	r3, [r1, #-556]
.L4:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-568]
	add	r3, r3, #1
	str	r3, [r2, #-568]
.L3:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r2, [r2, #-568]
	ldr	r3, [r3, #-584]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #2392064
	sub	r2, r2, #12
	sub	r2, r2, #8192
	ldr	r2, [r2, #-564]
	str	r2, [r3, #-3844]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	add	r3, r3, #1
	str	r3, [r2, #-572]
.L2:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r2, [r2, #-572]
	ldr	r3, [r3, #-580]
	cmp	r2, r3
	blt	.L6
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
	b	.L7
.L8:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-596]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-548]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	add	r3, r3, #1
	str	r3, [r2, #-572]
.L7:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r2, [r2, #-572]
	ldr	r3, [r3, #-584]
	cmp	r2, r3
	blt	.L8
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
	b	.L9
.L10:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3844]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r0, [r3, #-548]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-588]
	add	r3, r3, r2
	ldr	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3844]
	add	r2, r0, r2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	lsl	r3, r1, #2
	add	r3, r0, r3
	str	r2, [r3, #-548]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3844]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-596]
	add	r3, r3, r2
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	add	r3, r3, #1
	str	r3, [r2, #-572]
.L9:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r2, [r2, #-572]
	ldr	r3, [r3, #-580]
	cmp	r2, r3
	blt	.L10
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-556]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
	b	.L11
.L13:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	add	r2, r3, r2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	ldr	r3, [r2]
	str	r3, [r1, #-552]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-596]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #-548]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-596]
	add	r3, r3, r2
	ldr	r1, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	add	r4, r3, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4]
.L12:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	lsl	r2, r3, #2
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-592]
	add	r3, r3, r2
	ldr	r2, [r3]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-552]
	sub	r3, r3, r2
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-556]
	add	r3, r3, r2
	str	r3, [r1, #-556]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-572]
	add	r3, r3, #1
	str	r3, [r2, #-572]
.L11:
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r2, [r2, #-572]
	ldr	r3, [r3, #-584]
	cmp	r2, r3
	blt	.L13
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-560]
	add	r3, r3, #1
	str	r3, [r2, #-560]
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-556]
	cmp	r3, #0
	bne	.L14
	sub	r3, fp, #2392064
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r1, [r3, #-560]
	ldr	r0, .L16+4
	bl	printf
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	.LC0
	.size	kmean, .-kmean
	.align	2
	.global	qs
	.syntax unified
	.arm
	.fpu softvfp
	.type	qs, %function
qs:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L19
.L21:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L20
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L19
.L20:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-24]
.L19:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L22
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	qs
.L22:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bge	.L24
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-36]
	bl	qs
.L24:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	qs, .-qs
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC2:
	.ascii	"R[%d] : %ld te %d agrupats\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L26
.L27:
	bl	rand
	mov	r4, r0
	bl	rand
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, .L33
	smull	r1, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r1, .L33+4
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, [fp, #-16]
	ldr	r2, .L33+8
	cmp	r3, r2
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L28
.L29:
	ldr	r2, .L33+4
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L33+12
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L28:
	ldr	r3, [fp, #-16]
	cmp	r3, #199
	ble	.L29
	ldr	r3, .L33+16
	str	r3, [sp]
	ldr	r3, .L33+12
	ldr	r2, .L33+4
	mov	r1, #200
	ldr	r0, .L33+8
	bl	kmean
	ldr	r3, .L33+16
	ldr	r2, .L33+12
	mov	r1, #199
	mov	r0, #0
	bl	qs
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L31:
	ldr	r2, .L33+12
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L33+16
	ldr	r3, [fp, #-16]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [fp, #-16]
	ldr	r0, .L33+20
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-16]
	cmp	r3, #199
	ble	.L31
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L34:
	.align	2
.L33:
	.word	1876499845
	.word	V
	.word	600000
	.word	R
	.word	A
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
