	.file	"3501.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	pad
	.align 8
	.type	pad, @object
	.size	pad, 8
pad:
	.zero	8
	.globl	size
	.data
	.align 8
	.type	size, @object
	.size	size, 8
size:
	.quad	8
	.globl	numThreads
	.align 4
	.type	numThreads, @object
	.size	numThreads, 4
numThreads:
	.long	2
	.globl	numRepetitions
	.align 4
	.type	numRepetitions, @object
	.size	numRepetitions, 4
numRepetitions:
	.long	1
	.globl	reverse
	.bss
	.align 4
	.type	reverse, @object
	.size	reverse, 4
reverse:
	.zero	4
	.globl	trace
	.data
	.align 4
	.type	trace, @object
	.size	trace, 4
trace:
	.long	1
	.globl	debug
	.bss
	.align 4
	.type	debug, @object
	.size	debug, 4
debug:
	.zero	4
	.globl	numCores
	.data
	.align 4
	.type	numCores, @object
	.size	numCores, 4
numCores:
	.long	1
	.globl	barrier
	.bss
	.align 32
	.type	barrier, @object
	.size	barrier, 32
barrier:
	.zero	32
	.section	.rodata
.LC0:
	.string	"-s"
.LC2:
	.string	"-t"
.LC3:
	.string	"-d"
.LC4:
	.string	"-n"
.LC5:
	.string	"-time"
.LC6:
	.string	"-reverse"
.LC7:
	.string	"Number of CPU cores: %d\n"
	.align 8
.LC8:
	.string	"Using %d threads over %ld-element arrays...\n"
.LC9:
	.string	"Creating threads..."
.LC10:
	.string	"Error creating thread %d: %d\n"
	.align 8
.LC11:
	.string	"Waiting for threads to finish..."
.LC12:
	.string	"Threads are finished!"
.LC13:
	.string	"Time spent: %ld msec\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
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	edi, 84
	call	sysconf@PLT
	mov	DWORD PTR -72[rbp], eax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	DWORD PTR -76[rbp], 1
	jmp	.L2
.L9:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	add	DWORD PTR -76[rbp], 1
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	mov	rax, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvttsd2si	rax, xmm0
	mov	QWORD PTR size[rip], rax
.L3:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	add	DWORD PTR -76[rbp], 1
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR numThreads[rip], eax
.L4:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	add	DWORD PTR -76[rbp], 1
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR debug[rip], eax
.L5:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	add	DWORD PTR -76[rbp], 1
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR numRepetitions[rip], eax
.L6:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR trace[rip], 0
.L7:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR reverse[rip], 1
.L8:
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L9
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L10
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L11
	mov	rdx, QWORD PTR size[rip]
	mov	eax, DWORD PTR numThreads[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	rax, QWORD PTR size[rip]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR a[rip], rax
	mov	edi, 1048576
	call	malloc@PLT
	mov	QWORD PTR pad[rip], rax
	mov	rax, QWORD PTR size[rip]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR b[rip], rax
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L12
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L12:
	mov	eax, DWORD PTR numThreads[rip]
	mov	edx, eax
	mov	esi, 0
	lea	rdi, barrier[rip]
	call	pthread_barrier_init@PLT
	mov	eax, DWORD PTR numThreads[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, threadComputation[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	je	.L14
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L14:
	add	DWORD PTR -76[rbp], 1
.L13:
	mov	eax, DWORD PTR numThreads[rip]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L15
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L16
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L16:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -76[rbp], 1
.L17:
	mov	eax, DWORD PTR numThreads[rip]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L19
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L19:
	mov	eax, DWORD PTR trace[rip]
	test	eax, eax
	jne	.L20
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	imul	rax, rax, 1000
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	jle	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	rcx, rax
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	QWORD PTR -64[rbp], rax
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	sub	rax, rdx
	mov	rcx, rax
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	sar	rdx, 18
	mov	rax, rcx
	sar	rax, 63
	sub	rax, rdx
	add	QWORD PTR -64[rbp], rax
.L22:
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	lea	rdi, barrier[rip]
	call	pthread_barrier_destroy@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC14:
	.string	"%d %p W\n"
.LC15:
	.string	"a[%d]=%d b[%d]=%d "
.LC16:
	.string	"Thread %d done initializing\n"
.LC17:
	.string	"%d %p R\n"
.LC18:
	.string	"a[%d]=%d "
.LC19:
	.string	"Thread %d done computing\n"
	.text
	.globl	threadComputation
	.type	threadComputation, @function
threadComputation:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR size[rip]
	mov	edx, DWORD PTR numThreads[rip]
	movsx	rcx, edx
	cqo
	idiv	rcx
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L26
.L29:
	mov	rdx, QWORD PTR a[rip]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR -16[rbp]
	add	edx, 99
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR b[rip]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR -16[rbp]
	add	edx, 42
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR trace[rip]
	test	eax, eax
	jle	.L27
	mov	rdx, QWORD PTR a[rip]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR b[rip]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	eax, DWORD PTR debug[rip]
	cmp	eax, 1
	jle	.L28
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	esi, DWORD PTR [rax]
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	add	DWORD PTR -16[rbp], 1
.L26:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR size[rip]
	mov	edx, DWORD PTR numThreads[rip]
	movsx	rsi, edx
	cqo
	idiv	rsi
	cmp	rcx, rax
	jl	.L29
	mov	eax, DWORD PTR debug[rip]
	cmp	eax, 1
	jle	.L30
	mov	edi, 10
	call	putchar@PLT
.L30:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L31
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L32
.L41:
	mov	eax, DWORD PTR reverse[rip]
	test	eax, eax
	je	.L33
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L33
	mov	rax, QWORD PTR size[rip]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L34
.L36:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR a[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rsi
	imul	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR trace[rip]
	test	eax, eax
	jle	.L35
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L35
	mov	edi, 1
	call	usleep@PLT
.L35:
	sub	DWORD PTR -16[rbp], 1
.L34:
	cmp	DWORD PTR -16[rbp], 0
	jg	.L36
	jmp	.L37
.L33:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L38
.L40:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR a[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rsi
	imul	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR trace[rip]
	test	eax, eax
	jle	.L39
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L39
	mov	edi, 1
	call	usleep@PLT
.L39:
	add	DWORD PTR -16[rbp], 1
.L38:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR size[rip]
	cmp	rdx, rax
	jl	.L40
.L37:
	add	DWORD PTR -12[rbp], 1
.L32:
	mov	eax, DWORD PTR numRepetitions[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L41
	mov	eax, DWORD PTR debug[rip]
	cmp	eax, 1
	jle	.L42
	mov	DWORD PTR -16[rbp], 0
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L43:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR size[rip]
	cmp	rdx, rax
	jl	.L44
	mov	edi, 10
	call	putchar@PLT
.L42:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	jle	.L45
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	threadComputation, .-threadComputation
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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	"3501.c"
	.text
	.comm	a,4,4
	.comm	b,4,4
	.comm	pad,4,4
	.global	size
	.data
	.align	2
	.type	size, %object
	.size	size, 4
size:
	.word	8
	.global	numThreads
	.align	2
	.type	numThreads, %object
	.size	numThreads, 4
numThreads:
	.word	2
	.global	numRepetitions
	.align	2
	.type	numRepetitions, %object
	.size	numRepetitions, 4
numRepetitions:
	.word	1
	.global	reverse
	.bss
	.align	2
	.type	reverse, %object
	.size	reverse, 4
reverse:
	.space	4
	.global	trace
	.data
	.align	2
	.type	trace, %object
	.size	trace, 4
trace:
	.word	1
	.global	debug
	.bss
	.align	2
	.type	debug, %object
	.size	debug, 4
debug:
	.space	4
	.global	numCores
	.data
	.align	2
	.type	numCores, %object
	.size	numCores, 4
numCores:
	.word	1
	.comm	barrier,20,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-s\000"
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.align	2
.LC1:
	.ascii	"-t\000"
	.align	2
.LC2:
	.ascii	"-d\000"
	.align	2
.LC3:
	.ascii	"-n\000"
	.align	2
.LC4:
	.ascii	"-time\000"
	.align	2
.LC5:
	.ascii	"-reverse\000"
	.align	2
.LC6:
	.ascii	"Number of CPU cores: %d\012\000"
	.align	2
.LC7:
	.ascii	"Using %d threads over %ld-element arrays...\012\000"
	.align	2
.LC8:
	.ascii	"Creating threads...\000"
	.align	2
.LC9:
	.ascii	"Error creating thread %d: %d\012\000"
	.align	2
.LC10:
	.ascii	"Waiting for threads to finish...\000"
	.align	2
.LC11:
	.ascii	"Threads are finished!\000"
	.align	2
.LC12:
	.ascii	"Time spent: %ld msec\012\000"
	.align	2
.LC13:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r0, #84
	bl	sysconf
	str	r0, [fp, #-36]
	sub	r3, fp, #24
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L2
.L9:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L25+8
	str	r3, [r2]
.L3:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L25+16
	str	r3, [r2]
.L4:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L25+24
	str	r3, [r2]
.L5:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L25+32
	str	r3, [r2]
.L6:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L25+40
	mov	r2, #0
	str	r2, [r3]
.L7:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L25+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L25+48
	mov	r2, #1
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L2:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L9
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L10
	ldr	r1, [fp, #-36]
	ldr	r0, .L25+52
	bl	printf
.L10:
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L11
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, .L25+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L25+56
	bl	printf
.L11:
	ldr	r3, .L25+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+60
	str	r2, [r3]
	mov	r0, #1048576
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+64
	str	r2, [r3]
	ldr	r3, .L25+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+68
	str	r2, [r3]
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L12
	ldr	r0, .L25+72
	bl	puts
.L12:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, .L25+76
	bl	pthread_barrier_init
	ldr	r3, .L25+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L13
.L15:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r2, .L25+80
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L14
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-44]
	ldr	r0, .L25+84
	bl	printf
	nop
.L14:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L13:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L15
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L16
	ldr	r0, .L25+88
	bl	puts
.L16:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L17
.L18:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L17:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L19
	ldr	r0, .L25+92
	bl	puts
.L19:
	ldr	r3, .L25+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L21
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, .L25+96
	smull	r1, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	b	.L22
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, .L25+96
	smull	r1, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r3, r3, r2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
.L22:
	ldr	r1, [fp, #-40]
	ldr	r0, .L25+100
	bl	printf
.L20:
	ldr	r0, .L25+76
	bl	pthread_barrier_destroy
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC13
	.word	.LC0
	.word	size
	.word	.LC1
	.word	numThreads
	.word	.LC2
	.word	debug
	.word	.LC3
	.word	numRepetitions
	.word	.LC4
	.word	trace
	.word	.LC5
	.word	reverse
	.word	.LC6
	.word	.LC7
	.word	a
	.word	pad
	.word	b
	.word	.LC8
	.word	barrier
	.word	threadComputation
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	1125899907
	.word	.LC12
	.size	main, .-main
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%d %p W\012\000"
	.align	2
.LC15:
	.ascii	"a[%d]=%d b[%d]=%d \000"
	.align	2
.LC16:
	.ascii	"Thread %d done initializing\012\000"
	.align	2
.LC17:
	.ascii	"%d %p R\012\000"
	.align	2
.LC18:
	.ascii	"a[%d]=%d \000"
	.align	2
.LC19:
	.ascii	"Thread %d done computing\012\000"
	.text
	.align	2
	.global	threadComputation
	.syntax unified
	.arm
	.fpu softvfp
	.type	threadComputation, %function
threadComputation:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, .L49+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L28
.L31:
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r2, r2, #99
	str	r2, [r3]
	ldr	r3, .L49+12
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r2, r2, #42
	str	r2, [r3]
	ldr	r3, .L49+16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L29
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+20
	bl	printf
	ldr	r3, .L49+12
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+20
	bl	printf
.L29:
	ldr	r3, .L49+24
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L30
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L49+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	mov	r2, r1
	ldr	r1, [fp, #-20]
	ldr	r0, .L49+28
	bl	printf
.L30:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L28:
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, .L49+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	blt	.L31
	ldr	r3, .L49+24
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L32
	mov	r0, #10
	bl	putchar
.L32:
	ldr	r3, .L49+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L33
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+32
	bl	printf
.L33:
	ldr	r0, .L49+36
	bl	pthread_barrier_wait
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L34
.L43:
	ldr	r3, .L49+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L49
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L36
.L38:
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L49+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, .L49+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r0, r3
	mul	r2, r1, r2
	str	r2, [r3]
	ldr	r3, .L49+16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L37
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+44
	bl	printf
	ldr	r3, .L49+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+44
	bl	printf
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+20
	bl	printf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L37
	mov	r0, #1
	bl	usleep
.L37:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L36:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L38
	b	.L39
.L35:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L40
.L42:
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L49+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, .L49+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r0, r3
	mul	r2, r1, r2
	str	r2, [r3]
	ldr	r3, .L49+16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L41
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+44
	bl	printf
	ldr	r3, .L49+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+44
	bl	printf
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+20
	bl	printf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L41
	mov	r0, #1
	bl	usleep
.L41:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L40:
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L42
.L39:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L34:
	ldr	r3, .L49+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L43
	ldr	r3, .L49+24
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L44
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L45
.L46:
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L49+52
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L45:
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L46
	mov	r0, #10
	bl	putchar
.L44:
	ldr	r3, .L49+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L47
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+56
	bl	printf
.L47:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	size
	.word	numThreads
	.word	a
	.word	b
	.word	trace
	.word	.LC14
	.word	debug
	.word	.LC15
	.word	.LC16
	.word	barrier
	.word	reverse
	.word	.LC17
	.word	numRepetitions
	.word	.LC18
	.word	.LC19
	.size	threadComputation, .-threadComputation
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
