	.file	"466924.c"
	.intel_syntax noprefix
	.text
	.globl	pocitej
	.type	pocitej, @function
pocitej:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	esi, 8
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -20[rbp], 1
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -20[rbp], eax
	jb	.L4
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pocitej, .-pocitej
	.section	.rodata
.LC0:
	.string	"/* Sekvencni reseni */"
.LC1:
	.string	"Soucet je: %lu\n"
	.align 8
.LC2:
	.string	"Cas celkovy: %lu ticks.\nUser space: %lu ticks.\nSystem: %lu ticks.\n"
.LC3:
	.string	"/* Paralelni reseni */"
	.align 8
.LC4:
	.string	"Pole nejde delit beze zbytku: |pole|=%u, |usek|=%u, |1. usek|=%u.\n"
.LC5:
	.string	"Vlakno c. %d se nespustilo.\n"
	.align 8
.LC6:
	.string	"main(): problem vlakna c. %d s vracenim vysledku.\n"
	.align 8
.LC7:
	.string	"main() - ukonceno vlaken: %u.\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
	sub	rsp, 256
	mov	DWORD PTR -244[rbp], edi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	DWORD PTR -228[rbp], 4
	mov	DWORD PTR -224[rbp], 5000000
	mov	eax, DWORD PTR -224[rbp]
	mov	edx, 0
	div	DWORD PTR -228[rbp]
	mov	DWORD PTR -220[rbp], eax
	mov	edx, DWORD PTR -220[rbp]
	mov	eax, DWORD PTR -224[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -220[rbp]
	imul	eax, DWORD PTR -228[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -216[rbp], eax
	mov	eax, DWORD PTR -228[rbp]
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L7
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -228[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L8
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	eax, DWORD PTR -224[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L9
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	DWORD PTR -232[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	div	DWORD PTR -228[rbp]
	mov	ecx, edx
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -232[rbp], 1
.L10:
	mov	eax, DWORD PTR -232[rbp]
	cmp	DWORD PTR -224[rbp], eax
	ja	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], -1
	jne	.L12
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	DWORD PTR -232[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -208[rbp], rax
	add	DWORD PTR -232[rbp], 1
.L13:
	mov	eax, DWORD PTR -232[rbp]
	cmp	DWORD PTR -224[rbp], eax
	ja	.L14
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], -1
	jne	.L15
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, QWORD PTR -176[rbp]
	sub	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	QWORD PTR -208[rbp], 0
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], -1
	jne	.L16
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR -220[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -216[rbp]
	mov	ecx, DWORD PTR -220[rbp]
	mov	edx, DWORD PTR -224[rbp]
	mov	r8d, esi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L17:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_attr_setdetachstate@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L18
.L22:
	mov	eax, DWORD PTR offset.0[rip]
	mov	eax, eax
	lea	rcx, 0[0+rax*8]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -184[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	cmp	DWORD PTR -232[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -220[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	edx, DWORD PTR offset.0[rip]
	mov	eax, DWORD PTR -220[rbp]
	add	eax, edx
	mov	DWORD PTR offset.0[rip], eax
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	edx, DWORD PTR offset.0[rip]
	mov	eax, DWORD PTR -216[rbp]
	add	eax, edx
	mov	DWORD PTR offset.0[rip], eax
.L20:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	lea	rdi, [rcx+rax]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	lea	rdx, pocitej[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -232[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L21:
	add	DWORD PTR -232[rbp], 1
.L18:
	mov	eax, DWORD PTR -232[rbp]
	cmp	DWORD PTR -228[rbp], eax
	ja	.L22
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_destroy@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L23
.L27:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -96[rbp]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, -1
	jne	.L25
.L24:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -232[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -208[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
.L26:
	add	DWORD PTR -232[rbp], 1
.L23:
	mov	eax, DWORD PTR -232[rbp]
	cmp	DWORD PTR -228[rbp], eax
	ja	.L27
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	times@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], -1
	jne	.L28
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -228[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	sub	rax, QWORD PTR -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_destroy@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -184[rbp], 0
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -192[rbp], 0
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -200[rbp], 0
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	offset.0
	.comm	offset.0,4,4
	.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	"466924.c"
	.text
	.align	2
	.global	pocitej
	.syntax unified
	.arm
	.fpu softvfp
	.type	pocitej, %function
pocitej:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r1, #4
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L4
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pocitej, .-pocitej
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/* Sekvencni reseni */\000"
	.align	2
.LC1:
	.ascii	"Soucet je: %lu\012\000"
	.align	2
.LC2:
	.ascii	"Cas celkovy: %lu ticks.\012User space: %lu ticks.\012"
	.ascii	"System: %lu ticks.\012\000"
	.align	2
.LC3:
	.ascii	"/* Paralelni reseni */\000"
	.align	2
.LC4:
	.ascii	"Pole nejde delit beze zbytku: |pole|=%u, |usek|=%u,"
	.ascii	" |1. usek|=%u.\012\000"
	.align	2
.LC5:
	.ascii	"Vlakno c. %d se nespustilo.\012\000"
	.align	2
.LC6:
	.ascii	"main(): problem vlakna c. %d s vracenim vysledku.\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"main() - ukonceno vlaken: %u.\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #156
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #4
	str	r3, [fp, #-128]
	ldr	r3, .L31+4
	str	r3, [fp, #-124]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-124]
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-120]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r2, r2, r3
	ldr	r3, [fp, #-120]
	ldr	r1, [fp, #-128]
	mul	r3, r1, r3
	sub	r3, r2, r3
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L7
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L8
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L9
	mov	r0, #1
	bl	exit
.L9:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L10
.L11:
	ldr	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r4, r2, r3
	ldr	r1, [fp, #-128]
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [r4]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L10:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	bhi	.L11
	ldr	r0, .L31+8
	bl	puts
	sub	r3, fp, #100
	mov	r0, r3
	bl	times
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmn	r3, #1
	bne	.L12
	mov	r0, #1
	bl	exit
.L12:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L13
.L14:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L13:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	bhi	.L14
	sub	r3, fp, #84
	mov	r0, r3
	bl	times
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L15
	mov	r0, #1
	bl	exit
.L15:
	ldr	r1, [fp, #-144]
	ldr	r0, .L31+12
	bl	printf
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-112]
	sub	r1, r2, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-100]
	sub	r3, r2, r3
	mov	r0, r3
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L31+16
	bl	printf
	ldr	r0, .L31+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	mov	r0, r3
	bl	times
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmn	r3, #1
	bne	.L16
	mov	r0, #1
	bl	exit
.L16:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	beq	.L17
	ldr	r3, .L31+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-124]
	ldr	r1, .L31+28
	bl	fprintf
.L17:
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_init
	sub	r3, fp, #52
	mov	r1, #0
	mov	r0, r3
	bl	pthread_attr_setdetachstate
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L18
.L22:
	ldr	r3, .L31+32
	ldr	r3, [r3]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-140]
	add	r3, r1, r3
	ldr	r1, [fp, #-132]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r2, [fp, #-120]
	str	r2, [r3, #4]
	ldr	r3, .L31+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	ldr	r2, .L31+32
	str	r3, [r2]
	b	.L20
.L19:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r2, [fp, #-116]
	str	r2, [r3, #4]
	ldr	r3, .L31+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, .L31+32
	str	r3, [r2]
.L20:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r0, r2, r3
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	sub	r1, fp, #52
	ldr	r2, .L31+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L31+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	ldr	r1, .L31+40
	mov	r0, r3
	bl	fprintf
.L21:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L18:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	bhi	.L22
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_destroy
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L23
.L27:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-68]
	cmn	r3, #1
	bne	.L25
.L24:
	ldr	r3, .L31+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	ldr	r1, .L31+44
	mov	r0, r3
	bl	fprintf
	b	.L26
.L25:
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	free
.L26:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L23:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	bhi	.L27
	sub	r3, fp, #68
	mov	r0, r3
	bl	times
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L28
	mov	r0, #1
	bl	exit
.L28:
	ldr	r3, .L31+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	ldr	r1, .L31+48
	mov	r0, r3
	bl	fprintf
	ldr	r1, [fp, #-144]
	ldr	r0, .L31+12
	bl	printf
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-84]
	sub	r3, r2, r3
	mov	r0, r3
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-80]
	sub	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L31+16
	bl	printf
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_destroy
	ldr	r0, [fp, #-132]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r0, [fp, #-140]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC8
	.word	5000000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	offset.5661
	.word	pocitej
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.local	offset.5661
	.comm	offset.5661,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
