	.file	"125139715.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	C
	.align 8
	.type	C, @object
	.size	C, 8
C:
	.zero	8
	.globl	C1
	.align 8
	.type	C1, @object
	.size	C1, 8
C1:
	.zero	8
	.globl	threadCount
	.align 4
	.type	threadCount, @object
	.size	threadCount, 4
threadCount:
	.zero	4
	.globl	errors
	.align 4
	.type	errors, @object
	.size	errors, 4
errors:
	.zero	4
	.text
	.globl	allocateSpace
	.type	allocateSpace, @function
allocateSpace:
.LFB6:
	.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	edi, 19200
	call	malloc@PLT
	mov	QWORD PTR A[rip], rax
	mov	edi, 16000
	call	malloc@PLT
	mov	QWORD PTR B[rip], rax
	mov	edi, 19200
	call	malloc@PLT
	mov	QWORD PTR C[rip], rax
	mov	edi, 19200
	call	malloc@PLT
	mov	QWORD PTR C1[rip], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR A[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 9600
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 9600
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR C1[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 9600
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -20[rbp], 1
.L2:
	cmp	DWORD PTR -20[rbp], 2399
	jle	.L3
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR B[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 8000
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -20[rbp], 1
.L4:
	cmp	DWORD PTR -20[rbp], 1999
	jle	.L5
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	allocateSpace, .-allocateSpace
	.section	.rodata
	.align 8
.LC0:
	.string	"Unique Rows and Columns from Matrix A:"
	.align 8
.LC1:
	.string	"[Element from Row: %d, Column: %d]: "
.LC2:
	.string	"%d\n"
	.align 8
.LC3:
	.string	"Unique Rows and Columns from Matrix B:"
	.align 8
.LC4:
	.string	"Unique Rows and Columns from Matrix C:"
	.text
	.globl	print20UniqueRowsCols
	.type	print20UniqueRowsCols, @function
print20UniqueRowsCols:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	cmp	BYTE PTR -20[rbp], 65
	jne	.L7
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR A[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L8:
	cmp	DWORD PTR -8[rbp], 20
	jle	.L9
.L7:
	cmp	BYTE PTR -20[rbp], 66
	jne	.L10
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR B[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L11:
	cmp	DWORD PTR -8[rbp], 20
	jle	.L12
.L10:
	cmp	BYTE PTR -20[rbp], 67
	jne	.L16
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L14
.L15:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L14:
	cmp	DWORD PTR -8[rbp], 20
	jle	.L15
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print20UniqueRowsCols, .-print20UniqueRowsCols
	.section	.rodata
.LC5:
	.string	"[ "
.LC6:
	.string	"%d\t"
.LC7:
	.string	"]"
	.text
	.globl	printMatrix
	.type	printMatrix, @function
printMatrix:
.LFB8:
	.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	cmp	BYTE PTR -20[rbp], 65
	jne	.L18
	mov	DWORD PTR -8[rbp], 2400
	mov	DWORD PTR -4[rbp], 2000
	mov	DWORD PTR -16[rbp], 0
	jmp	.L19
.L22:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR A[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L21
	lea	rdi, .LC7[rip]
	call	puts@PLT
	add	DWORD PTR -16[rbp], 1
.L19:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L22
	jmp	.L38
.L18:
	cmp	BYTE PTR -20[rbp], 66
	jne	.L24
	mov	DWORD PTR -8[rbp], 2000
	mov	DWORD PTR -4[rbp], 500
	mov	DWORD PTR -16[rbp], 0
	jmp	.L25
.L28:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR B[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L26:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L27
	lea	rdi, .LC7[rip]
	call	puts@PLT
	add	DWORD PTR -16[rbp], 1
.L25:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L28
	jmp	.L38
.L24:
	cmp	BYTE PTR -20[rbp], 67
	jne	.L29
	mov	DWORD PTR -8[rbp], 2400
	mov	DWORD PTR -4[rbp], 500
	mov	DWORD PTR -16[rbp], 0
	jmp	.L30
.L33:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L31
.L32:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L31:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L32
	lea	rdi, .LC7[rip]
	call	puts@PLT
	add	DWORD PTR -16[rbp], 1
.L30:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L33
	jmp	.L38
.L29:
	cmp	BYTE PTR -20[rbp], 68
	jne	.L38
	mov	DWORD PTR -8[rbp], 2400
	mov	DWORD PTR -4[rbp], 500
	mov	DWORD PTR -16[rbp], 0
	jmp	.L34
.L37:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR C1[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L35:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L36
	lea	rdi, .LC7[rip]
	call	puts@PLT
	add	DWORD PTR -16[rbp], 1
.L34:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L37
.L38:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printMatrix, .-printMatrix
	.section	.rodata
.LC8:
	.string	"Generating A."
	.text
	.globl	generate_matrix_A
	.type	generate_matrix_A, @function
generate_matrix_A:
.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, 16
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L40
.L43:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	rcx, QWORD PTR A[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	add	edx, 2
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L41:
	cmp	DWORD PTR -4[rbp], 1999
	jle	.L42
	add	DWORD PTR -8[rbp], 1
.L40:
	cmp	DWORD PTR -8[rbp], 2399
	jle	.L43
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	generate_matrix_A, .-generate_matrix_A
	.section	.rodata
.LC9:
	.string	"Generating B."
	.text
	.globl	generate_matrix_B
	.type	generate_matrix_B, @function
generate_matrix_B:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L45
.L48:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	rcx, QWORD PTR B[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L46:
	cmp	DWORD PTR -4[rbp], 499
	jle	.L47
	add	DWORD PTR -8[rbp], 1
.L45:
	cmp	DWORD PTR -8[rbp], 1999
	jle	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	generate_matrix_B, .-generate_matrix_B
	.globl	reset_matrix_C
	.type	reset_matrix_C, @function
reset_matrix_C:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L50
.L53:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L51
.L52:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L51:
	cmp	DWORD PTR -4[rbp], 499
	jle	.L52
	add	DWORD PTR -8[rbp], 1
.L50:
	cmp	DWORD PTR -8[rbp], 2399
	jle	.L53
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	reset_matrix_C, .-reset_matrix_C
	.section	.rodata
.LC10:
	.string	"\nStoring C."
	.text
	.globl	storeC
	.type	storeC, @function
storeC:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L55
.L58:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L56
.L57:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR C1[rip]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L56:
	cmp	DWORD PTR -4[rbp], 499
	jle	.L57
	add	DWORD PTR -8[rbp], 1
.L55:
	cmp	DWORD PTR -8[rbp], 2399
	jle	.L58
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	storeC, .-storeC
	.section	.rodata
.LC11:
	.string	"\nChecking for errors..."
.LC12:
	.string	"No errors."
.LC13:
	.string	"Errors found."
	.text
	.globl	checkErrors
	.type	checkErrors, @function
checkErrors:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L60
.L64:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L61
.L63:
	mov	rdx, QWORD PTR C1[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L62
	mov	DWORD PTR -4[rbp], 1
.L62:
	add	DWORD PTR -8[rbp], 1
.L61:
	cmp	DWORD PTR -8[rbp], 499
	jle	.L63
	add	DWORD PTR -12[rbp], 1
.L60:
	cmp	DWORD PTR -12[rbp], 2399
	jle	.L64
	cmp	DWORD PTR -4[rbp], 0
	jne	.L65
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L66
.L65:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 1
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	checkErrors, .-checkErrors
	.globl	multiply
	.type	multiply, @function
multiply:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L68
.L73:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L69
.L72:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L70
.L71:
	mov	rdx, QWORD PTR C[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR A[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR B[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rsi, QWORD PTR C[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -24[rbp], 1
.L70:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L71
	add	DWORD PTR -28[rbp], 1
.L69:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L72
	add	DWORD PTR -32[rbp], 1
.L68:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L73
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	multiply, .-multiply
	.section	.rodata
	.align 8
.LC15:
	.string	"Multiplying with %d threads. \t"
	.align 8
.LC16:
	.string	"Error creating producer thread."
	.text
	.globl	multiplyWithThreads
	.type	multiplyWithThreads, @function
multiplyWithThreads:
.LFB15:
	.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, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -196[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -128[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -120[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC14[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -176[rbp], xmm0
	mov	eax, DWORD PTR -196[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -168[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	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
.L76:
	cmp	rsp, rdx
	je	.L77
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L76
.L77:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L78
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L78:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -184[rbp], 0
	jmp	.L79
.L86:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L80
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -184[rbp]
	add	eax, 1
	imul	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L81
.L80:
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	add	eax, 1
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -184[rbp]
	add	eax, 1
	imul	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 12[rax], edx
.L81:
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 16[rax], 2000
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 20[rax], 500
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 2400
	jg	.L82
	mov	eax, 2400
	cdq
	idiv	DWORD PTR -196[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -184[rbp]
	add	eax, 2
	imul	eax, edx
	cmp	eax, 2400
	jle	.L83
.L82:
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 12[rax], 2400
.L83:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	lea	rdx, multiply[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], -1
	jne	.L84
	lea	rdi, .LC16[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR .LC17[rip]
	jmp	.L85
.L84:
	add	DWORD PTR -184[rbp], 1
.L79:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L86
	mov	DWORD PTR -184[rbp], 0
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, DWORD PTR -184[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -184[rbp], 1
.L87:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L88
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -128[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -120[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC14[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -152[rbp], xmm0
	cmp	DWORD PTR -196[rbp], 1
	jne	.L89
	mov	eax, 0
	call	storeC
	jmp	.L90
.L89:
	mov	eax, 0
	call	checkErrors
	test	eax, eax
	je	.L90
	mov	eax, DWORD PTR errors[rip]
	add	eax, 1
	mov	DWORD PTR errors[rip], eax
.L90:
	movsd	xmm0, QWORD PTR -152[rbp]
	subsd	xmm0, QWORD PTR -176[rbp]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR -144[rbp]
.L85:
	mov	rsp, rbx
	movq	rax, xmm0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	movq	xmm0, rax
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	multiplyWithThreads, .-multiplyWithThreads
	.section	.rodata
	.align 8
.LC18:
	.string	"Incorrect number of arguments.  Usage: ./mm.out <number-of-threads>"
.LC19:
	.string	"Time for %d threads: %fs.\n\n"
	.align 8
.LC20:
	.string	"%d threads with errors encountered. \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	je	.L94
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L95
.L94:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR threadCount[rip], eax
	mov	eax, 0
	call	allocateSpace
	mov	eax, 0
	call	generate_matrix_A
	mov	eax, 0
	call	generate_matrix_B
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L96
.L97:
	mov	eax, 0
	call	reset_matrix_C
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	multiplyWithThreads
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L96:
	mov	eax, DWORD PTR threadCount[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L97
	mov	eax, DWORD PTR errors[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC14:
	.long	0
	.long	1093567616
	.align 8
.LC17:
	.long	0
	.long	-1074790400
	.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	"125139715.c"
	.text
	.comm	A,4,4
	.comm	B,4,4
	.comm	C,4,4
	.comm	C1,4,4
	.comm	threadCount,4,4
	.global	errors
	.bss
	.align	2
	.type	errors, %object
	.size	errors, 4
errors:
	.space	4
	.text
	.align	2
	.global	allocateSpace
	.syntax unified
	.arm
	.fpu softvfp
	.type	allocateSpace, %function
allocateSpace:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6
	str	r2, [r3]
	mov	r0, #8000
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6+4
	str	r2, [r3]
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6+8
	str	r2, [r3]
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L6+12
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L6+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #9600
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #2400
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #8000
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #2000
	blt	.L5
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	A
	.word	B
	.word	C
	.word	C1
	.size	allocateSpace, .-allocateSpace
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unique Rows and Columns from Matrix A:\000"
	.align	2
.LC1:
	.ascii	"[Element from Row: %d, Column: %d]: \000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.ascii	"Unique Rows and Columns from Matrix B:\000"
	.align	2
.LC4:
	.ascii	"Unique Rows and Columns from Matrix C:\000"
	.text
	.align	2
	.global	print20UniqueRowsCols
	.syntax unified
	.arm
	.fpu softvfp
	.type	print20UniqueRowsCols, %function
print20UniqueRowsCols:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #65
	bne	.L9
	ldr	r0, .L19
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #20
	ble	.L11
.L9:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L12
	ldr	r0, .L19+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L14:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, .L19+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #20
	ble	.L14
.L12:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L18
	ldr	r0, .L19+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L16
.L17:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, .L19+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #20
	ble	.L17
.L18:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	.LC1
	.word	A
	.word	.LC2
	.word	.LC3
	.word	B
	.word	.LC4
	.word	C
	.size	print20UniqueRowsCols, .-print20UniqueRowsCols
	.section	.rodata
	.align	2
.LC5:
	.ascii	"[ \000"
	.align	2
.LC6:
	.ascii	"%d\011\000"
	.align	2
.LC7:
	.ascii	"]\000"
	.text
	.align	2
	.global	printMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	printMatrix, %function
printMatrix:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #65
	bne	.L22
	mov	r3, #2400
	str	r3, [fp, #-12]
	mov	r3, #2000
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L23
.L26:
	ldr	r0, .L43
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L24
.L25:
	ldr	r3, .L43+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L24:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L25
	ldr	r0, .L43+12
	bl	puts
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L23:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L26
	b	.L42
.L22:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L28
	mov	r3, #2000
	str	r3, [fp, #-12]
	mov	r3, #500
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L29
.L32:
	ldr	r0, .L43
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L31:
	ldr	r3, .L43+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L31
	ldr	r0, .L43+12
	bl	puts
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L29:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L32
	b	.L42
.L28:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L33
	mov	r3, #2400
	str	r3, [fp, #-12]
	mov	r3, #500
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L34
.L37:
	ldr	r0, .L43
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L35
.L36:
	ldr	r3, .L43+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L35:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L36
	ldr	r0, .L43+12
	bl	puts
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L37
	b	.L42
.L33:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L42
	mov	r3, #2400
	str	r3, [fp, #-12]
	mov	r3, #500
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L38
.L41:
	ldr	r0, .L43
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L39
.L40:
	ldr	r3, .L43+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L39:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L40
	ldr	r0, .L43+12
	bl	puts
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L38:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L41
.L42:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	A
	.word	.LC6
	.word	.LC7
	.word	B
	.word	C
	.word	C1
	.size	printMatrix, .-printMatrix
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Generating A.\000"
	.text
	.align	2
	.global	generate_matrix_A
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_matrix_A, %function
generate_matrix_A:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L50
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L49:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L47
.L48:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r2, r2, r3
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #2000
	blt	.L48
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-12]
	cmp	r3, #2400
	blt	.L49
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC8
	.word	A
	.size	generate_matrix_A, .-generate_matrix_A
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Generating B.\000"
	.text
	.align	2
	.global	generate_matrix_B
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_matrix_B, %function
generate_matrix_B:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L57
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L53
.L56:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L54
.L55:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r2, r2, r3
	ldr	r3, .L57+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #500
	blt	.L55
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L53:
	ldr	r3, [fp, #-12]
	cmp	r3, #2000
	blt	.L56
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC9
	.word	B
	.size	generate_matrix_B, .-generate_matrix_B
	.align	2
	.global	reset_matrix_C
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_matrix_C, %function
reset_matrix_C:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L60
.L63:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L61
.L62:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L61:
	ldr	r3, [fp, #-8]
	cmp	r3, #500
	blt	.L62
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L60:
	ldr	r3, [fp, #-12]
	cmp	r3, #2400
	blt	.L63
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L65:
	.align	2
.L64:
	.word	C
	.size	reset_matrix_C, .-reset_matrix_C
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012Storing C.\000"
	.text
	.align	2
	.global	storeC
	.syntax unified
	.arm
	.fpu softvfp
	.type	storeC, %function
storeC:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L71
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L67
.L70:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L68
.L69:
	ldr	r3, .L71+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L71+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L68:
	ldr	r3, [fp, #-8]
	cmp	r3, #500
	blt	.L69
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L67:
	ldr	r3, [fp, #-12]
	cmp	r3, #2400
	blt	.L70
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC10
	.word	C
	.word	C1
	.size	storeC, .-storeC
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012Checking for errors...\000"
	.align	2
.LC12:
	.ascii	"No errors.\000"
	.align	2
.LC13:
	.ascii	"Errors found.\000"
	.text
	.align	2
	.global	checkErrors
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkErrors, %function
checkErrors:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L81
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L74
.L78:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L75
.L77:
	ldr	r3, .L81+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L81+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L76
	mov	r3, #1
	str	r3, [fp, #-8]
.L76:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L75:
	ldr	r3, [fp, #-12]
	cmp	r3, #500
	blt	.L77
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L74:
	ldr	r3, [fp, #-16]
	cmp	r3, #2400
	blt	.L78
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L79
	ldr	r0, .L81+12
	bl	puts
	mov	r3, #0
	b	.L80
.L79:
	ldr	r0, .L81+16
	bl	puts
	mov	r3, #1
.L80:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC11
	.word	C1
	.word	C
	.word	.LC12
	.word	.LC13
	.size	checkErrors, .-checkErrors
	.align	2
	.global	multiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiply, %function
multiply:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	b	.L84
.L89:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L85
.L88:
	ldr	r3, .L91
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L86
.L87:
	ldr	r3, .L91
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L91+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L91+8
	ldr	r0, [r2]
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #2
	add	r2, r0, r2
	ldr	r0, [r2]
	ldr	r2, [fp, #-28]
	lsl	r2, r2, #2
	add	r2, r0, r2
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L91
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L86:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L87
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L85:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L88
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L84:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L89
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L92:
	.align	2
.L91:
	.word	C
	.word	A
	.word	B
	.size	multiply, .-multiply
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Multiplying with %d threads. \011\000"
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
.LC15:
	.ascii	"Error creating producer thread.\000"
	.global	__aeabi_dsub
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiplyWithThreads
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiplyWithThreads, %function
multiplyWithThreads:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #108
	str	r0, [fp, #-120]
	ldr	r3, .L108
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	sub	r3, fp, #68
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L108+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r1, [fp, #-120]
	ldr	r0, .L108+8
	bl	printf
	ldr	ip, [fp, #-120]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	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
	mov	r3, ip
	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
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L94
.L101:
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #2400
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L95
	ldr	r1, [fp, #-120]
	mov	r0, #2400
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-112]
	mul	r2, r3, r2
	ldr	r3, [fp, #-100]
	str	r2, [r3]
	ldr	r1, [fp, #-120]
	mov	r0, #2400
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	mul	r2, r3, r2
	ldr	r3, [fp, #-100]
	str	r2, [r3, #12]
	b	.L96
.L95:
	ldr	r1, [fp, #-120]
	mov	r0, #2400
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-112]
	mul	r2, r3, r2
	ldr	r3, [fp, #-100]
	str	r2, [r3]
	ldr	r1, [fp, #-120]
	mov	r0, #2400
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-112]
	add	r2, r2, #1
	mul	r2, r3, r2
	ldr	r3, [fp, #-100]
	str	r2, [r3, #12]
.L96:
	ldr	r3, [fp, #-100]
	mov	r2, #2000
	str	r2, [r3, #16]
	ldr	r3, [fp, #-100]
	mov	r2, #500
	str	r2, [r3, #20]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #12]
	cmp	r3, #2400
	bgt	.L97
	ldr	r1, [fp, #-120]
	mov	r0, #2400
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, #2
	mul	r3, r2, r3
	cmp	r3, #2400
	ble	.L98
.L97:
	ldr	r3, [fp, #-100]
	mov	r2, #2400
	str	r2, [r3, #12]
.L98:
	sub	r3, fp, #60
	mov	r0, r3
	bl	pthread_attr_init
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r0, r2, r3
	sub	r1, fp, #60
	ldr	r3, [fp, #-100]
	ldr	r2, .L108+12
	bl	pthread_create
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmn	r3, #1
	bne	.L99
	ldr	r0, .L108+16
	bl	puts
	mov	r2, #0
	ldr	r3, .L108+20
	b	.L100
.L99:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L94:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L101
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L102
.L103:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-112]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L102:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L103
	sub	r3, fp, #68
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L108+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bne	.L104
	bl	storeC
	b	.L105
.L104:
	bl	checkErrors
	mov	r3, r0
	cmp	r3, #0
	beq	.L105
	ldr	r3, .L108+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L108+24
	str	r3, [r2]
.L105:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
.L100:
	mov	sp, r6
	ldr	r1, .L108
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L107
	bl	__stack_chk_fail
.L107:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC16
	.word	1093567616
	.word	.LC14
	.word	multiply
	.word	.LC15
	.word	-1074790400
	.word	errors
	.size	multiplyWithThreads, .-multiplyWithThreads
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Incorrect number of arguments.  Usage: ./mm.out <nu"
	.ascii	"mber-of-threads>\000"
	.align	2
.LC18:
	.ascii	"Time for %d threads: %fs.\012\012\000"
	.align	2
.LC19:
	.ascii	"%d threads with errors encountered. \012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L111
	ldr	r0, .L115
	bl	puts
	mov	r3, #0
	b	.L112
.L111:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L115+4
	str	r3, [r2]
	bl	allocateSpace
	bl	generate_matrix_A
	bl	generate_matrix_B
	mov	r0, #10
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L113
.L114:
	bl	reset_matrix_C
	ldr	r0, [fp, #-16]
	bl	multiplyWithThreads
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	ldr	r0, .L115+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L113:
	ldr	r3, .L115+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L114
	ldr	r3, .L115+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L115+16
	bl	printf
	mov	r3, #0
.L112:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC17
	.word	threadCount
	.word	.LC18
	.word	errors
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
