	.file	"736438.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"incorrect"
.LC2:
	.string	"correct"
.LC3:
	.string	"Pixels/s"
.LC4:
	.string	"Time in s"
.LC5:
	.string	"Image size"
	.align 8
.LC6:
	.string	"Output\033[32;1m(%s)\033[0m:\n%10s%14s%14s\n "
.LC7:
	.string	"%12d % .6e  % .6e\n"
	.text
	.globl	print_results
	.type	print_results, @function
print_results:
.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, 64
	mov	rax, rsi
	mov	r10, rdi
	mov	rsi, r10
	mov	rdi, r11
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -52[rbp], r8d
	mov	DWORD PTR -56[rbp], r9d
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	cmp	DWORD PTR 16[rbp], 0
	jne	.L2
	lea	rax, .LC1[rip]
	jmp	.L3
.L2:
	lea	rax, .LC2[rip]
.L3:
	lea	r8, .LC3[rip]
	lea	rcx, .LC4[rip]
	lea	rdx, .LC5[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	eax, eax
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L5:
	divsd	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 2
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_results, .-print_results
	.globl	generate_random_image
	.type	generate_random_image, @function
generate_random_image:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -32[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	lea	r12, 0[0+rdx*4]
	mov	esi, DWORD PTR -52[rbp]
	mov	edx, esi
	sub	rdx, 1
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, eax
	mov	r8, rax
	mov	r9d, 0
	mov	eax, esi
	mov	rcx, rax
	mov	ebx, 0
	mov	rdx, r9
	imul	rdx, rcx
	mov	rax, rbx
	imul	rax, r8
	lea	rsi, [rdx+rax]
	mov	rax, r8
	mul	rcx
	lea	rcx, [rsi+rdx]
	mov	rdx, rcx
	mov	DWORD PTR -40[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L8
.L9:
	call	rand@PLT
	and	eax, 255
	mov	DWORD PTR -36[rbp], eax
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	lea	rcx, [rsi+rdx]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax+rcx*4], edx
	add	DWORD PTR -44[rbp], 1
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -56[rbp], eax
	ja	.L9
	add	DWORD PTR -40[rbp], 1
.L7:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -52[rbp], eax
	ja	.L10
	nop
	nop
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	generate_random_image, .-generate_random_image
	.section	.rodata
.LC8:
	.string	"%d\t"
	.text
	.globl	print_image
	.type	print_image, @function
print_image:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -32[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	lea	r12, 0[0+rdx*4]
	mov	esi, DWORD PTR -52[rbp]
	mov	edx, esi
	sub	rdx, 1
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, eax
	mov	r8, rax
	mov	r9d, 0
	mov	eax, esi
	mov	rcx, rax
	mov	ebx, 0
	mov	rdx, r9
	imul	rdx, rcx
	mov	rax, rbx
	imul	rax, r8
	lea	rsi, [rdx+rax]
	mov	rax, r8
	mul	rcx
	lea	rcx, [rsi+rdx]
	mov	rdx, rcx
	mov	DWORD PTR -36[rbp], 0
	jmp	.L12
.L15:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L13
.L14:
	mov	rcx, r12
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -56[rbp], eax
	ja	.L14
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L12:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -52[rbp], eax
	ja	.L15
	nop
	nop
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_image, .-print_image
	.section	.rodata
.LC9:
	.string	" %d,"
.LC10:
	.string	"]"
	.text
	.globl	print_histogram
	.type	print_histogram, @function
print_histogram:
.LFB9:
	.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	edi, 91
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 255
	jle	.L18
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_histogram, .-print_histogram
	.globl	thread_proc
	.type	thread_proc, @function
thread_proc:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	rsi, QWORD PTR -104[rbp]
	mov	QWORD PTR -64[rbp], rsi
	mov	rsi, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR [rsi]
	mov	DWORD PTR -84[rbp], esi
	mov	rsi, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 4[rsi]
	mov	DWORD PTR -88[rbp], esi
	mov	rsi, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 8[rsi]
	mov	DWORD PTR -72[rbp], esi
	mov	rsi, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 8[rsi]
	mov	edi, esi
	sub	rdi, 1
	mov	QWORD PTR -56[rbp], rdi
	mov	edi, esi
	mov	r8, rdi
	mov	r9d, 0
	mov	edi, esi
	lea	r8, 0[0+rdi*4]
	mov	rdi, QWORD PTR -64[rbp]
	mov	r9d, DWORD PTR 12[rdi]
	mov	edi, r9d
	sub	rdi, 1
	mov	QWORD PTR -48[rbp], rdi
	mov	esi, esi
	mov	rcx, rsi
	mov	ebx, 0
	mov	esi, r9d
	mov	rax, rsi
	mov	edx, 0
	mov	rdi, rbx
	imul	rdi, rax
	mov	rsi, rdx
	imul	rsi, rcx
	add	rsi, rdi
	mul	rcx
	lea	rcx, [rsi+rdx]
	mov	rdx, rcx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -32[rbp], rax
	mov	eax, edx
	mov	r10, rax
	mov	r11d, 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	jmp	.L20
.L23:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L21
.L22:
	mov	rcx, r8
	shr	rcx, 2
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -76[rbp]
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -68[rbp]
	lock add	DWORD PTR [rdx], eax
	add	DWORD PTR -80[rbp], 1
.L21:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jb	.L22
	add	DWORD PTR -76[rbp], 1
.L20:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jb	.L23
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	thread_proc, .-thread_proc
	.section	.rodata
	.align 8
.LC11:
	.string	"Option -%c requires an argument.\n"
.LC12:
	.string	"Unknown option '-%c'.\n"
	.align 8
.LC13:
	.string	"Unknown option character '\\x%x'.\n"
.LC14:
	.string	"sw:h:p:"
	.align 8
.LC15:
	.string	"WIDTH \t-w\t%d\nHEIGHT \t-h\t%d\nNUM_THREADS \t-p\t%d\n"
.LC16:
	.string	"Seq execution took: % .6e"
.LC17:
	.string	"\nRow map ::"
	.align 8
.LC18:
	.string	"Thread %d :: %d - > %d [weight=%d]\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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, 488
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -340[rbp], edi
	mov	QWORD PTR -352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -328[rbp], 50
	mov	DWORD PTR -332[rbp], 50
	mov	DWORD PTR -336[rbp], 4
	mov	DWORD PTR -288[rbp], 0
	jmp	.L25
.L37:
	cmp	DWORD PTR -284[rbp], 119
	je	.L26
	cmp	DWORD PTR -284[rbp], 119
	jg	.L27
	cmp	DWORD PTR -284[rbp], 115
	je	.L28
	cmp	DWORD PTR -284[rbp], 115
	jg	.L27
	cmp	DWORD PTR -284[rbp], 112
	je	.L29
	cmp	DWORD PTR -284[rbp], 112
	jg	.L27
	cmp	DWORD PTR -284[rbp], 63
	je	.L30
	cmp	DWORD PTR -284[rbp], 104
	je	.L31
	jmp	.L27
.L26:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -328[rbp], eax
	jmp	.L25
.L31:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -332[rbp], eax
	jmp	.L25
.L29:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -336[rbp], eax
	jmp	.L25
.L28:
	mov	DWORD PTR -288[rbp], 1
	jmp	.L25
.L30:
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 119
	je	.L32
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 104
	je	.L32
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 112
	jne	.L33
.L32:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L34
.L33:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optopt[rip]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L35
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L34
.L35:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L34:
	mov	eax, -1
	jmp	.L71
.L27:
	mov	eax, -1
	jmp	.L71
.L25:
	mov	rcx, QWORD PTR -352[rbp]
	mov	eax, DWORD PTR -340[rbp]
	lea	rdx, .LC14[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], -1
	jne	.L37
	mov	ecx, DWORD PTR -336[rbp]
	mov	edx, DWORD PTR -332[rbp]
	mov	eax, DWORD PTR -328[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -328[rbp]
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -280[rbp], rax
	mov	eax, edx
	mov	QWORD PTR -368[rbp], rax
	mov	QWORD PTR -360[rbp], 0
	mov	ecx, DWORD PTR -332[rbp]
	mov	eax, ecx
	sub	rax, 1
	mov	QWORD PTR -272[rbp], rax
	mov	eax, edx
	mov	r14, rax
	mov	r15d, 0
	mov	eax, ecx
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	mov	eax, DWORD PTR -332[rbp]
	imul	eax, DWORD PTR -328[rbp]
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -264[rbp], rax
	mov	rdx, QWORD PTR -264[rbp]
	mov	ecx, DWORD PTR -328[rbp]
	mov	eax, DWORD PTR -332[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	generate_random_image
	mov	edi, 1024
	call	malloc@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	edi, 1024
	call	malloc@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -292[rbp], 0
	jmp	.L38
.L39:
	mov	rdx, QWORD PTR -256[rbp]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	rdx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -292[rbp], 1
.L38:
	cmp	DWORD PTR -292[rbp], 255
	jle	.L39
	cmp	DWORD PTR -288[rbp], 0
	je	.L40
	lea	rax, -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rcx, QWORD PTR -248[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	esi, DWORD PTR -328[rbp]
	mov	eax, DWORD PTR -332[rbp]
	mov	edi, eax
	call	calculate_histo_seq@PLT
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm0, xmm1
	movsd	QWORD PTR -240[rbp], xmm0
	mov	rax, QWORD PTR -240[rbp]
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
.L40:
	mov	DWORD PTR -296[rbp], 0
	mov	edx, DWORD PTR -336[rbp]
	mov	rax, rsp
	mov	r13, rax
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -232[rbp], rax
	mov	eax, edx
	mov	QWORD PTR -384[rbp], rax
	mov	QWORD PTR -376[rbp], 0
	mov	eax, edx
	mov	QWORD PTR -400[rbp], rax
	mov	QWORD PTR -392[rbp], 0
	mov	eax, edx
	lea	rdx, 0[0+rax*4]
	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
.L41:
	cmp	rsp, rcx
	je	.L42
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L41
.L42:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L43
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L43:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -300[rbp], 0
	jmp	.L44
.L45:
	mov	rdx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -300[rbp], 1
.L44:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -336[rbp], eax
	ja	.L45
	mov	edx, DWORD PTR -336[rbp]
	mov	rax, rsp
	mov	r12, rax
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -216[rbp], rax
	mov	eax, edx
	mov	QWORD PTR -416[rbp], rax
	mov	QWORD PTR -408[rbp], 0
	mov	eax, edx
	mov	QWORD PTR -432[rbp], rax
	mov	QWORD PTR -424[rbp], 0
	mov	eax, edx
	lea	rdx, 0[0+rax*4]
	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
.L46:
	cmp	rsp, rcx
	je	.L47
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L46
.L47:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L48
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L48:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -208[rbp], rax
	mov	edx, DWORD PTR -336[rbp]
	mov	eax, edx
	sub	rax, 1
	mov	QWORD PTR -200[rbp], rax
	mov	eax, edx
	mov	QWORD PTR -448[rbp], rax
	mov	QWORD PTR -440[rbp], 0
	mov	eax, edx
	mov	QWORD PTR -464[rbp], rax
	mov	QWORD PTR -456[rbp], 0
	mov	eax, edx
	lea	rdx, 0[0+rax*4]
	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
.L49:
	cmp	rsp, rdx
	je	.L50
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L49
.L50:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L51
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L51:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -192[rbp], rax
	mov	DWORD PTR -304[rbp], 0
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -304[rbp]
	mov	edx, 0
	div	DWORD PTR -336[rbp]
	mov	ecx, edx
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, ecx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -224[rbp]
	mov	ecx, ecx
	mov	DWORD PTR [rax+rcx*4], edx
	add	DWORD PTR -304[rbp], 1
	add	DWORD PTR -296[rbp], 1
.L52:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -332[rbp]
	jb	.L53
	mov	DWORD PTR -296[rbp], 0
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	DWORD PTR -308[rbp], 0
	jmp	.L54
.L55:
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -296[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -296[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -296[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, ecx
	sub	esi, eax
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -308[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -308[rbp], 1
.L54:
	mov	eax, DWORD PTR -308[rbp]
	cmp	DWORD PTR -336[rbp], eax
	ja	.L55
	mov	eax, DWORD PTR -336[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -184[rbp], rdx
	mov	edx, eax
	mov	QWORD PTR -480[rbp], rdx
	mov	QWORD PTR -472[rbp], 0
	mov	edx, eax
	mov	QWORD PTR -496[rbp], rdx
	mov	QWORD PTR -488[rbp], 0
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	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
.L56:
	cmp	rsp, rdx
	je	.L57
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L56
.L57:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L58
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L58:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -176[rbp], rax
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	lea	rax, -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_attr_setscope@PLT
	mov	eax, DWORD PTR -336[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -168[rbp], rdx
	mov	edx, eax
	mov	QWORD PTR -512[rbp], rdx
	mov	QWORD PTR -504[rbp], 0
	mov	edx, eax
	mov	QWORD PTR -528[rbp], rdx
	mov	QWORD PTR -520[rbp], 0
	mov	eax, eax
	sal	rax, 5
	mov	rdx, rax
	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
.L59:
	cmp	rsp, rdx
	je	.L60
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L59
.L60:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L61
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L61:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L62
.L64:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -312[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -312[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR -328[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -256[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	lea	rdx, thread_proc[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	cmp	DWORD PTR -312[rbp], 0
	jne	.L63
	lea	rax, -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
.L63:
	add	DWORD PTR -312[rbp], 1
.L62:
	mov	eax, DWORD PTR -312[rbp]
	cmp	DWORD PTR -336[rbp], eax
	ja	.L64
	mov	DWORD PTR -316[rbp], 0
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -316[rbp], 1
.L65:
	mov	eax, DWORD PTR -316[rbp]
	cmp	DWORD PTR -336[rbp], eax
	ja	.L66
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -320[rbp], 1
	mov	DWORD PTR -324[rbp], 0
	jmp	.L67
.L70:
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -324[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -248[rbp]
	mov	edx, DWORD PTR -324[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	je	.L68
	mov	DWORD PTR -320[rbp], 0
	jmp	.L69
.L68:
	add	DWORD PTR -324[rbp], 1
.L67:
	cmp	DWORD PTR -324[rbp], 255
	jle	.L70
.L69:
	mov	r9d, DWORD PTR -328[rbp]
	mov	r8d, DWORD PTR -332[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rdi, QWORD PTR -144[rbp]
	mov	rsi, QWORD PTR -136[rbp]
	sub	rsp, 8
	mov	ecx, DWORD PTR -320[rbp]
	push	rcx
	mov	rcx, rdx
	mov	rdx, rax
	call	print_results
	add	rsp, 16
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rsp, rbx
	mov	rsp, r12
	mov	rsp, r13
	mov	eax, 0
.L71:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L72
	call	__stack_chk_fail@PLT
.L72:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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	"736438.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"incorrect\000"
	.align	2
.LC1:
	.ascii	"correct\000"
	.align	2
.LC2:
	.ascii	"Time in s\000"
	.align	2
.LC3:
	.ascii	"Image size\000"
	.align	2
.LC4:
	.ascii	"Output\033[32;1m(%s)\033[0m:\012%10s%14s%14s\012 \000"
	.align	2
.LC5:
	.ascii	"Pixels/s\000"
	.global	__aeabi_ui2d
	.align	2
.LC6:
	.ascii	"%12d % .6e  % .6e\012\000"
	.text
	.align	2
	.global	print_results
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_results, %function
print_results:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	sub	ip, fp, #28
	stm	ip, {r0, r1}
	sub	r1, fp, #36
	stm	r1, {r2, r3}
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #12]
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L4+4
	b	.L3
.L2:
	ldr	r1, .L4+8
.L3:
	ldr	r3, .L4+12
	str	r3, [sp]
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r0, .L4+24
	bl	printf
	ldr	r3, [fp, #8]
	ldr	r2, [fp, #4]
	mul	r4, r2, r3
	ldr	r3, [fp, #8]
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r1, r4
	ldr	r0, .L4+28
	bl	printf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	.align	2
.L4:
	.word	1093567616
	.word	.LC0
	.word	.LC1
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.size	print_results, .-print_results
	.align	2
	.global	generate_random_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_random_image, %function
generate_random_image:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	ip, [fp, #-52]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r6, ip, #2
	ldr	r3, [fp, #-48]
	mov	r2, r3
	sub	r2, r2, #1
	str	r2, [fp, #-28]
	mov	r4, ip
	mov	r5, #0
	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, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L8
.L9:
	bl	rand
	mov	r3, r0
	and	r3, r3, #255
	str	r3, [fp, #-24]
	lsr	r2, r6, #2
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-36]
	mul	r1, r2, r1
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	ldr	r1, [fp, #-24]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L8:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L9
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bhi	.L10
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	generate_random_image, .-generate_random_image
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	print_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_image, %function
print_image:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	ip, [fp, #-44]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r6, ip, #2
	ldr	r3, [fp, #-40]
	mov	r2, r3
	sub	r2, r2, #1
	str	r2, [fp, #-24]
	mov	r4, ip
	mov	r5, #0
	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, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L13
.L14:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-32]
	mul	r1, r2, r1
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L13:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bhi	.L14
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L12:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bhi	.L15
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC7
	.size	print_image, .-print_image
	.section	.rodata
	.align	2
.LC8:
	.ascii	" %d,\000"
	.align	2
.LC9:
	.ascii	"]\000"
	.text
	.align	2
	.global	print_histogram
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_histogram, %function
print_histogram:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r0, #91
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L19
.L20:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L21
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	ble	.L20
	ldr	r0, .L21+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC8
	.word	.LC9
	.size	print_histogram, .-print_histogram
	.global	__sync_fetch_and_add_4
	.align	2
	.global	thread_proc
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_proc, %function
thread_proc:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #60
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	ldr	ip, [r3, #8]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r6, ip, #2
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r2, r2, #1
	str	r2, [fp, #-40]
	mov	r4, ip
	mov	r5, #0
	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, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]
	mov	r2, r3
	sub	r2, r2, #1
	str	r2, [fp, #-32]
	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
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-52]
	b	.L24
.L27:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L25
.L26:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-52]
	mul	r1, r2, r1
	ldr	r2, [fp, #-56]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L25:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L26
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L24:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	bcc	.L27
	nop
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	thread_proc, .-thread_proc
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Option -%c requires an argument.\012\000"
	.align	2
.LC11:
	.ascii	"Unknown option '-%c'.\012\000"
	.align	2
.LC12:
	.ascii	"Unknown option character '\\x%x'.\012\000"
	.align	2
.LC13:
	.ascii	"sw:h:p:\000"
	.align	2
.LC14:
	.ascii	"WIDTH \011-w\011%d\012HEIGHT \011-h\011%d\012NUM_TH"
	.ascii	"READS \011-p\011%d\012\000"
	.align	2
.LC15:
	.ascii	"Seq execution took: % .6e\000"
	.global	__aeabi_uidivmod
	.align	2
.LC16:
	.ascii	"\012Row map ::\000"
	.align	2
.LC17:
	.ascii	"Thread %d :: %d - > %d [weight=%d]\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #212
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #50
	str	r3, [fp, #-212]
	mov	r3, #50
	str	r3, [fp, #-216]
	mov	r3, #4
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L29
.L42:
	ldr	r3, [fp, #-168]
	cmp	r3, #63
	beq	.L30
	ldr	r3, [fp, #-168]
	cmp	r3, #63
	blt	.L31
	ldr	r3, [fp, #-168]
	cmp	r3, #119
	bgt	.L31
	ldr	r3, [fp, #-168]
	cmp	r3, #104
	blt	.L31
	ldr	r3, [fp, #-168]
	sub	r3, r3, #104
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L31
.L33:
	.word	.L36
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L35
	.word	.L31
	.word	.L31
	.word	.L34
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L32
.L32:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-212]
	b	.L29
.L36:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-216]
	b	.L29
.L35:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-220]
	b	.L29
.L34:
	mov	r3, #1
	str	r3, [fp, #-172]
	b	.L29
.L30:
	ldr	r3, .L63+8
	ldr	r3, [r3]
	cmp	r3, #119
	beq	.L37
	ldr	r3, .L63+8
	ldr	r3, [r3]
	cmp	r3, #104
	beq	.L37
	ldr	r3, .L63+8
	ldr	r3, [r3]
	cmp	r3, #112
	bne	.L38
.L37:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, .L63+8
	ldr	r2, [r2]
	ldr	r1, .L63+16
	mov	r0, r3
	bl	fprintf
	b	.L39
.L38:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L63+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, .L63+8
	ldr	r2, [r2]
	ldr	r1, .L63+20
	mov	r0, r3
	bl	fprintf
	b	.L39
.L40:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, .L63+8
	ldr	r2, [r2]
	ldr	r1, .L63+24
	mov	r0, r3
	bl	fprintf
.L39:
	mvn	r3, #0
	b	.L61
.L31:
	mvn	r3, #0
	b	.L61
.L29:
	ldr	r2, .L63+28
	ldr	r1, [fp, #-228]
	ldr	r0, [fp, #-224]
	bl	getopt
	str	r0, [fp, #-168]
	ldr	r3, [fp, #-168]
	cmn	r3, #1
	bne	.L42
	ldr	r3, [fp, #-220]
	ldr	r2, [fp, #-216]
	ldr	r1, [fp, #-212]
	ldr	r0, .L63+32
	bl	printf
	ldr	ip, [fp, #-212]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-164]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-216]
	mov	r2, r3
	sub	r2, r2, #1
	str	r2, [fp, #-160]
	mov	r4, ip
	mov	r5, #0
	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, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-212]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r2, [fp, #-156]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	generate_random_image
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-152]
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L43
.L44:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-176]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-176]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L43:
	ldr	r3, [fp, #-176]
	cmp	r3, #255
	ble	.L44
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	beq	.L45
	sub	r3, fp, #92
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-156]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	calculate_histo_seq
	sub	r3, fp, #84
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L63+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r0, .L63+40
	bl	printf
.L45:
	mov	r3, #0
	str	r3, [fp, #-180]
	ldr	ip, [fp, #-220]
	mov	r3, sp
	mov	r4, r3
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #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, #-140]
	mov	r3, #0
	str	r3, [fp, #-184]
	b	.L46
.L47:
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-184]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-184]
	add	r3, r3, #1
	str	r3, [fp, #-184]
.L46:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bhi	.L47
	ldr	ip, [fp, #-220]
	mov	r3, sp
	mov	r5, r3
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #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, #-132]
	ldr	ip, [fp, #-220]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-128]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #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, #-124]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L48
.L49:
	ldr	r3, [fp, #-188]
	ldr	r1, [fp, #-220]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	ldr	r2, [fp, #-140]
	ldr	r2, [r2, r3, lsl #2]
	add	r1, r2, #1
	ldr	r2, [fp, #-140]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L48:
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-216]
	cmp	r2, r3
	bcc	.L49
	mov	r3, #0
	str	r3, [fp, #-180]
	ldr	r0, .L63+44
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-192]
	b	.L50
.L51:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-192]
	ldr	r1, [fp, #-180]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-192]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-180]
	add	r1, r2, r3
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-192]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-192]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-192]
	ldr	r0, [r3, r2, lsl #2]
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-192]
	ldr	ip, [r3, r2, lsl #2]
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-192]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-132]
	ldr	r1, [fp, #-192]
	ldr	r3, [r3, r1, lsl #2]
	sub	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [fp, #-192]
	ldr	r0, .L63+48
	bl	printf
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L50:
	ldr	r3, [fp, #-192]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bhi	.L51
	ldr	ip, [fp, #-220]
	mov	r3, sp
	mov	r10, r3
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-120]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #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, #-116]
	sub	r3, fp, #76
	mov	r0, r3
	bl	pthread_attr_init
	sub	r3, fp, #76
	mov	r1, #0
	mov	r0, r3
	bl	pthread_attr_setscope
	ldr	ip, [fp, #-220]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	mov	r0, ip
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r3, ip
	lsl	r3, r3, #1
	add	r3, r3, ip
	lsl	r3, r3, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r3, ip
	lsl	r3, r3, #1
	add	r3, 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, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-196]
	b	.L52
.L54:
	ldr	r2, [fp, #-196]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-196]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-104]
	str	r2, [r3]
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-196]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-104]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-212]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-152]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-156]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r0, r2, r3
	sub	r1, fp, #76
	ldr	r3, [fp, #-104]
	ldr	r2, .L63+52
	bl	pthread_create
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #92
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
.L53:
	ldr	r3, [fp, #-196]
	add	r3, r3, #1
	str	r3, [fp, #-196]
.L52:
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bhi	.L54
	mov	r3, #0
	str	r3, [fp, #-200]
	b	.L55
.L56:
	ldr	r3, [fp, #-116]
	ldr	r2, [fp, #-200]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
.L55:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bhi	.L56
	sub	r3, fp, #84
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, #1
	str	r3, [fp, #-204]
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L57
.L60:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-208]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-148]
	ldr	r1, [fp, #-208]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	beq	.L58
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L59
.L58:
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L57:
	ldr	r3, [fp, #-208]
	cmp	r3, #255
	ble	.L60
.L59:
	ldr	r3, [fp, #-204]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-212]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-216]
	str	r3, [sp]
	sub	r3, fp, #84
	ldm	r3, {r2, r3}
	sub	r1, fp, #92
	ldm	r1, {r0, r1}
	bl	print_results
	ldr	r0, [fp, #-156]
	bl	free
	ldr	r0, [fp, #-152]
	bl	free
	ldr	r0, [fp, #-148]
	bl	free
	mov	sp, r10
	mov	sp, r5
	mov	sp, r4
	mov	r3, #0
.L61:
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC18
	.word	optarg
	.word	optopt
	.word	stderr
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	1093567616
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	thread_proc
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
