	.file	"820627.c"
	.intel_syntax noprefix
	.text
	.globl	parms
	.data
	.align 16
	.type	parms, @object
	.size	parms, 24
parms:
	.long	-1717986918
	.long	1069128089
	.long	-1717986918
	.long	1069128089
	.quad	5000000
	.text
	.globl	update
	.type	update, @function
update:
.LFB6:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -16[rbp], 1
	jmp	.L2
.L5:
	mov	QWORD PTR -8[rbp], 1
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm3, QWORD PTR parms[rip]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm4, xmm0
	addsd	xmm4, xmm0
	subsd	xmm1, xmm4
	movapd	xmm0, xmm1
	mulsd	xmm0, xmm3
	addsd	xmm2, xmm0
	movsd	xmm3, QWORD PTR parms[rip+8]
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm4, xmm0
	addsd	xmm4, xmm0
	subsd	xmm1, xmm4
	movapd	xmm0, xmm1
	mulsd	xmm0, xmm3
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -8[rbp], 1
.L3:
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 1
	cmp	QWORD PTR -8[rbp], rax
	jl	.L4
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	cmp	QWORD PTR -16[rbp], rax
	jl	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	update, .-update
	.globl	inidat
	.type	inidat, @function
inidat:
.LFB7:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	jmp	.L7
.L10:
	mov	QWORD PTR -8[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	imul	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -8[rbp], 1
.L8:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jg	.L9
	add	QWORD PTR -16[rbp], 1
.L7:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jg	.L10
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inidat, .-inidat
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"%8.3f"
.LC2:
	.string	"Wrote file: %s\n"
	.text
	.globl	prtdat
	.type	prtdat, @function
prtdat:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	mov	QWORD PTR -16[rbp], rax
	jmp	.L12
.L17:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 1
	cmp	QWORD PTR -24[rbp], rax
	je	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L15:
	add	QWORD PTR -24[rbp], 1
.L13:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jg	.L16
	sub	QWORD PTR -16[rbp], 1
.L12:
	cmp	QWORD PTR -16[rbp], 0
	jns	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	prtdat, .-prtdat
	.section	.rodata
.LC3:
	.string	"initial_serial.dat"
.LC4:
	.string	"final_serial.dat"
.LC6:
	.string	"Sum of whole field is %f\n"
	.text
	.globl	serial_heat2D
	.type	serial_heat2D, @function
serial_heat2D:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -229376[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1088
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -230416[rbp]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	inidat
	lea	rax, -230416[rbp]
	lea	rcx, .LC3[rip]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	prtdat
	mov	QWORD PTR -230456[rbp], 0
	jmp	.L19
.L20:
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 230416
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 115216
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 229464
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 114264
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -230456[rbp], 1
.L19:
	cmp	QWORD PTR -230456[rbp], 119
	jle	.L20
	mov	QWORD PTR -230448[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -230448[rbp]
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	mov	rax, QWORD PTR -230448[rbp]
	add	rax, 14400
	movsd	QWORD PTR -230416[rbp+rax*8], xmm0
	mov	rax, QWORD PTR -230448[rbp]
	add	rax, 14280
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	mov	rax, QWORD PTR -230448[rbp]
	add	rax, 28680
	movsd	QWORD PTR -230416[rbp+rax*8], xmm0
	add	QWORD PTR -230448[rbp], 1
.L21:
	cmp	QWORD PTR -230448[rbp], 119
	jle	.L22
	mov	QWORD PTR -230440[rbp], 0
	mov	QWORD PTR -230432[rbp], 1
	jmp	.L23
.L24:
	mov	eax, 1
	sub	rax, QWORD PTR -230440[rbp]
	lea	rdx, -230416[rbp]
	imul	rax, rax, 115200
	add	rdx, rax
	lea	rcx, -230416[rbp]
	mov	rax, QWORD PTR -230440[rbp]
	imul	rax, rax, 115200
	add	rax, rcx
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	update
	mov	eax, 1
	sub	rax, QWORD PTR -230440[rbp]
	mov	QWORD PTR -230440[rbp], rax
	add	QWORD PTR -230432[rbp], 1
.L23:
	mov	rax, QWORD PTR parms[rip+16]
	cmp	QWORD PTR -230432[rbp], rax
	jle	.L24
	lea	rdx, -230416[rbp]
	mov	rax, QWORD PTR -230440[rbp]
	imul	rax, rax, 115200
	add	rax, rdx
	lea	rcx, .LC4[rip]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	prtdat
	pxor	xmm0, xmm0
	movsd	QWORD PTR -230424[rbp], xmm0
	mov	QWORD PTR -230456[rbp], 0
	jmp	.L25
.L28:
	mov	QWORD PTR -230448[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -230448[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	movsd	xmm1, QWORD PTR -230424[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -230424[rbp], xmm0
	add	QWORD PTR -230448[rbp], 1
.L26:
	cmp	QWORD PTR -230448[rbp], 119
	jle	.L27
	add	QWORD PTR -230456[rbp], 1
.L25:
	cmp	QWORD PTR -230456[rbp], 119
	jle	.L28
	mov	rax, QWORD PTR -230424[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	serial_heat2D, .-serial_heat2D
	.globl	threads
	.bss
	.align 32
	.type	threads, @object
	.size	threads, 576
threads:
	.zero	576
	.globl	problem
	.align 32
	.type	problem, @object
	.size	problem, 32
problem:
	.zero	32
	.globl	totalThread
	.align 4
	.type	totalThread, @object
	.size	totalThread, 4
totalThread:
	.zero	4
	.globl	cBarried
	.align 32
	.type	cBarried, @object
	.size	cBarried, 48
cBarried:
	.zero	48
	.globl	mtx
	.align 32
	.type	mtx, @object
	.size	mtx, 40
mtx:
	.zero	40
	.section	.rodata
	.align 8
.LC7:
	.string	"Thread tid: %ld created successful.\n"
	.align 8
.LC8:
	.string	"thread id: %ld, stating computing step...\n"
	.align 8
.LC9:
	.string	"thread id: %ld, finished computing step...\n"
	.text
	.globl	mutex_worker
	.type	mutex_worker, @function
mutex_worker:
.LFB10:
	.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, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	lea	rax, threads[rip]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR -140[rbp], eax
	jmp	.L31
.L32:
	add	QWORD PTR -96[rbp], 96
.L31:
	mov	rax, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR [rax]
	call	pthread_self@PLT
	cmp	rbx, rax
	jne	.L32
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR problem[rip+16]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR problem[rip+24]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR problem[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR problem[rip+8]
	mov	QWORD PTR -48[rbp], rax
	lea	rdi, mtx[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR totalThread[rip]
	add	eax, 1
	mov	DWORD PTR totalThread[rip], eax
	mov	eax, DWORD PTR totalThread[rip]
	cmp	DWORD PTR -140[rbp], eax
	jne	.L46
	mov	DWORD PTR totalThread[rip], 0
	lea	rdi, cBarried[rip]
	call	pthread_cond_broadcast@PLT
	jmp	.L34
.L46:
	nop
.L35:
	lea	rsi, mtx[rip]
	lea	rdi, cBarried[rip]
	call	pthread_cond_wait@PLT
	test	eax, eax
	jne	.L35
.L34:
	lea	rdi, mtx[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -104[rbp], 0
	jmp	.L36
.L44:
	mov	QWORD PTR -120[rbp], 0
	jmp	.L37
.L40:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -112[rbp], 0
	jmp	.L38
.L39:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm3, QWORD PTR parms[rip]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm4, xmm0
	addsd	xmm4, xmm0
	subsd	xmm1, xmm4
	movapd	xmm0, xmm1
	mulsd	xmm0, xmm3
	addsd	xmm2, xmm0
	movsd	xmm3, QWORD PTR parms[rip+8]
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm4, xmm0
	addsd	xmm4, xmm0
	subsd	xmm1, xmm4
	movapd	xmm0, xmm1
	mulsd	xmm0, xmm3
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -112[rbp], 1
.L38:
	mov	rax, QWORD PTR -112[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jl	.L39
	add	QWORD PTR -120[rbp], 1
.L37:
	mov	rax, QWORD PTR -120[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jl	.L40
	lea	rdi, mtx[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR totalThread[rip]
	add	eax, 1
	mov	DWORD PTR totalThread[rip], eax
	mov	eax, DWORD PTR totalThread[rip]
	cmp	DWORD PTR -140[rbp], eax
	jne	.L47
	mov	DWORD PTR totalThread[rip], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -128[rbp], rax
	lea	rdi, cBarried[rip]
	call	pthread_cond_broadcast@PLT
	jmp	.L42
.L47:
	nop
.L43:
	lea	rsi, mtx[rip]
	lea	rdi, cBarried[rip]
	call	pthread_cond_wait@PLT
	test	eax, eax
	jne	.L43
.L42:
	lea	rdi, mtx[rip]
	call	pthread_mutex_unlock@PLT
	add	QWORD PTR -104[rbp], 1
.L36:
	mov	rax, QWORD PTR parms[rip+16]
	cmp	QWORD PTR -104[rbp], rax
	jle	.L44
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mutex_worker, .-mutex_worker
	.section	.rodata
.LC10:
	.string	"initial_parallel.dat"
	.align 8
.LC11:
	.string	"Thread id: %ld, nx_local = %ld, ny_local = %ld \n"
	.align 8
.LC12:
	.string	"Thread id: %ld, offset_x = %ld, offset_y = %ld \n"
	.align 8
.LC13:
	.string	"Thread id: %ld, up_id = %ld, bottom_id = %ld, "
	.align 8
.LC14:
	.string	"left_id = %ld, right_id = %ld\n"
.LC15:
	.string	"final_parallel.dat"
	.text
	.globl	parallel_heat2D
	.type	parallel_heat2D, @function
parallel_heat2D:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -229376[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 1120
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 84
	call	sysconf@PLT
	mov	DWORD PTR -230484[rbp], eax
	lea	rax, -230416[rbp]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	inidat
	lea	rax, -230416[rbp]
	lea	rcx, .LC10[rip]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	prtdat
	mov	edi, 10
	call	putchar@PLT
	mov	QWORD PTR -230464[rbp], 0
	jmp	.L49
.L50:
	mov	rdx, QWORD PTR -230464[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 230416
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR -230464[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 115216
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR -230464[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 229464
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR -230464[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 6
	add	rax, rbp
	sub	rax, 114264
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -230464[rbp], 1
.L49:
	cmp	QWORD PTR -230464[rbp], 119
	jle	.L50
	mov	QWORD PTR -230456[rbp], 0
	jmp	.L51
.L52:
	mov	rax, QWORD PTR -230456[rbp]
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	mov	rax, QWORD PTR -230456[rbp]
	add	rax, 14400
	movsd	QWORD PTR -230416[rbp+rax*8], xmm0
	mov	rax, QWORD PTR -230456[rbp]
	add	rax, 14280
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	mov	rax, QWORD PTR -230456[rbp]
	add	rax, 28680
	movsd	QWORD PTR -230416[rbp+rax*8], xmm0
	add	QWORD PTR -230456[rbp], 1
.L51:
	cmp	QWORD PTR -230456[rbp], 119
	jle	.L52
	cmp	DWORD PTR -230484[rbp], 6
	jle	.L53
	mov	DWORD PTR -230484[rbp], 6
	mov	QWORD PTR -230432[rbp], 3
	mov	QWORD PTR -230424[rbp], 2
	jmp	.L54
.L53:
	mov	eax, DWORD PTR -230484[rbp]
	cdqe
	mov	QWORD PTR -230432[rbp], rax
	mov	QWORD PTR -230424[rbp], 1
.L54:
	mov	QWORD PTR -230480[rbp], 1
	mov	QWORD PTR -230472[rbp], 1
	mov	QWORD PTR -230456[rbp], 0
	jmp	.L55
.L71:
	mov	QWORD PTR -230464[rbp], 0
	jmp	.L56
.L70:
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	add	rax, rdx
	mov	QWORD PTR -230448[rbp], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rcx, rax
	lea	rdx, threads[rip+8]
	mov	rax, QWORD PTR -230448[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rcx, rax
	lea	rdx, threads[rip+16]
	mov	rax, QWORD PTR -230464[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rcx, rax
	lea	rdx, threads[rip+24]
	mov	rax, QWORD PTR -230456[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	cmp	QWORD PTR -230464[rbp], 1
	jg	.L57
	cmp	QWORD PTR -230456[rbp], 0
	jg	.L57
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	QWORD PTR [rdx+rax], 39
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	QWORD PTR [rdx+rax], 59
	jmp	.L58
.L57:
	cmp	QWORD PTR -230464[rbp], 1
	jg	.L59
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	QWORD PTR [rdx+rax], 39
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	QWORD PTR [rdx+rax], 59
	jmp	.L58
.L59:
	cmp	QWORD PTR -230456[rbp], 0
	jg	.L60
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	QWORD PTR [rdx+rax], 40
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	QWORD PTR [rdx+rax], 59
	jmp	.L58
.L60:
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	QWORD PTR [rdx+rax], 40
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	QWORD PTR [rdx+rax], 59
.L58:
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -230448[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rcx, rax
	lea	rdx, threads[rip+48]
	mov	rax, QWORD PTR -230480[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rcx, rax
	lea	rdx, threads[rip+56]
	mov	rax, QWORD PTR -230472[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+32]
	mov	rax, QWORD PTR [rdx+rax]
	add	QWORD PTR -230480[rbp], rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+56]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+48]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -230448[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -230464[rbp], 0
	jne	.L61
	cmp	QWORD PTR -230456[rbp], 0
	jne	.L61
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], -1
	jmp	.L62
.L61:
	cmp	QWORD PTR -230464[rbp], 2
	jne	.L63
	cmp	QWORD PTR -230456[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], -1
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
	jmp	.L62
.L63:
	cmp	QWORD PTR -230464[rbp], 0
	jne	.L64
	cmp	QWORD PTR -230456[rbp], 1
	jne	.L64
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], -1
	jmp	.L62
.L64:
	cmp	QWORD PTR -230464[rbp], 2
	jne	.L65
	cmp	QWORD PTR -230456[rbp], 1
	jne	.L65
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
	jmp	.L62
.L65:
	cmp	QWORD PTR -230456[rbp], 0
	jne	.L66
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
	jmp	.L62
.L66:
	cmp	QWORD PTR -230456[rbp], 1
	jne	.L67
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
	jmp	.L62
.L67:
	cmp	QWORD PTR -230464[rbp], 0
	jne	.L68
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], -1
	jmp	.L62
.L68:
	cmp	QWORD PTR -230464[rbp], 2
	jne	.L69
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], -1
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
	jmp	.L62
.L69:
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230456[rbp]
	lea	rdx, -1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	QWORD PTR [rdx+rax], rcx
	mov	rax, QWORD PTR -230464[rbp]
	lea	rcx, -1[rax]
	mov	rdx, QWORD PTR -230456[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+80]
	mov	QWORD PTR [rdx+rax], rcx
.L62:
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+72]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+64]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -230448[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+88]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rcx, QWORD PTR -230448[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 5
	mov	rcx, rax
	lea	rax, threads[rip+80]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	QWORD PTR -230464[rbp], 1
.L56:
	cmp	QWORD PTR -230464[rbp], 2
	jle	.L70
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip+40]
	mov	rax, QWORD PTR [rdx+rax]
	add	QWORD PTR -230472[rbp], rax
	mov	QWORD PTR -230480[rbp], 1
	add	QWORD PTR -230456[rbp], 1
.L55:
	cmp	QWORD PTR -230456[rbp], 1
	jle	.L71
	mov	esi, 0
	lea	rdi, mtx[rip]
	call	pthread_mutex_init@PLT
	mov	esi, 0
	lea	rdi, cBarried[rip]
	call	pthread_cond_init@PLT
	mov	DWORD PTR totalThread[rip], 0
	mov	QWORD PTR problem[rip], 120
	mov	QWORD PTR problem[rip+8], 120
	lea	rax, -230416[rbp]
	mov	QWORD PTR problem[rip+16], rax
	lea	rax, -230416[rbp]
	add	rax, 115200
	mov	QWORD PTR problem[rip+24], rax
	mov	QWORD PTR -230448[rbp], 0
	jmp	.L72
.L73:
	mov	eax, DWORD PTR -230484[rbp]
	cdqe
	mov	rcx, rax
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	lea	rdx, threads[rip]
	add	rax, rdx
	lea	rdx, mutex_worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	QWORD PTR -230448[rbp], 1
.L72:
	mov	eax, DWORD PTR -230484[rbp]
	cdqe
	cmp	QWORD PTR -230448[rbp], rax
	jl	.L73
	mov	QWORD PTR -230448[rbp], 0
	jmp	.L74
.L75:
	mov	rdx, QWORD PTR -230448[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, threads[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	QWORD PTR -230448[rbp], 1
.L74:
	mov	eax, DWORD PTR -230484[rbp]
	cdqe
	cmp	QWORD PTR -230448[rbp], rax
	jl	.L75
	lea	rdi, mtx[rip]
	call	pthread_mutex_destroy@PLT
	lea	rdi, cBarried[rip]
	call	pthread_cond_destroy@PLT
	lea	rax, -230416[rbp]
	add	rax, 115200
	lea	rcx, .LC15[rip]
	mov	rdx, rax
	mov	esi, 120
	mov	edi, 120
	call	prtdat
	pxor	xmm0, xmm0
	movsd	QWORD PTR -230440[rbp], xmm0
	mov	QWORD PTR -230464[rbp], 0
	jmp	.L76
.L79:
	mov	QWORD PTR -230456[rbp], 0
	jmp	.L77
.L78:
	mov	rdx, QWORD PTR -230464[rbp]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -230456[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -230416[rbp+rax*8]
	movsd	xmm1, QWORD PTR -230440[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -230440[rbp], xmm0
	add	QWORD PTR -230456[rbp], 1
.L77:
	cmp	QWORD PTR -230456[rbp], 119
	jle	.L78
	add	QWORD PTR -230464[rbp], 1
.L76:
	cmp	QWORD PTR -230464[rbp], 119
	jle	.L79
	mov	rax, QWORD PTR -230440[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L80
	call	__stack_chk_fail@PLT
.L80:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	parallel_heat2D, .-parallel_heat2D
	.section	.rodata
	.align 8
.LC16:
	.string	"\n Problem Scale: NXPROB = %d, NYPROB = %d\357\274\214 nts = %d\n\n"
	.align 8
.LC18:
	.string	"mtx parallel:  cost = %15.10lf \n"
.LC19:
	.string	"serial:  cost = %15.10lf \n"
.LC20:
	.string	"Speed Up = %lf\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
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR parms[rip+16]
	mov	rcx, rax
	mov	edx, 120
	mov	esi, 120
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	eax, 0
	call	parallel_heat2D
	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
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC17[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	eax, 0
	call	serial_heat2D
	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
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC17[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -64[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC17:
	.long	0
	.long	1104006501
	.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	"820627.c"
	.text
	.global	parms
	.data
	.align	3
	.type	parms, %object
	.size	parms, 24
parms:
	.word	2576980378
	.word	1069128089
	.word	2576980378
	.word	1069128089
	.word	5000000
	.space	4
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.text
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L2
.L5:
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L3
.L4:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, .L6
	ldmia	r3, {r6-r7}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L6
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r4, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L5
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L7:
	.align	2
.L6:
	.word	parms
	.size	update, .-update
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.align	2
	.global	inidat
	.syntax unified
	.arm
	.fpu softvfp
	.type	inidat, %function
inidat:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #-16]
	sub	r2, r1, r2
	sub	r2, r2, #1
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r1, r0
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bgt	.L11
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L12
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	inidat, .-inidat
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"%8.3f\000"
	.align	2
.LC2:
	.ascii	"Wrote file: %s\012\000"
	.text
	.align	2
	.global	prtdat
	.syntax unified
	.arm
	.fpu softvfp
	.type	prtdat, %function
prtdat:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L20
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L14
.L19:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L18:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L20+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L16
	ldr	r1, [fp, #-8]
	mov	r0, #32
	bl	fputc
	b	.L17
.L16:
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
.L17:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bgt	.L18
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L19
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r1, [fp, #-36]
	ldr	r0, .L20+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	prtdat, .-prtdat
	.section	.rodata
	.align	2
.LC3:
	.ascii	"initial_serial.dat\000"
	.align	2
.LC4:
	.ascii	"final_serial.dat\000"
	.align	2
.LC5:
	.ascii	"Sum of whole field is %f\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	serial_heat2D
	.syntax unified
	.arm
	.fpu softvfp
	.type	serial_heat2D, %function
serial_heat2D:
	@ args = 0, pretend = 0, frame = 230432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #230400
	sub	sp, sp, #36
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, r3
	mov	r1, #120
	mov	r0, #120
	bl	inidat
	sub	r2, fp, #230400
	sub	r2, r2, #12
	sub	r2, r2, #8
	ldr	r3, .L34+4
	mov	r1, #120
	mov	r0, #120
	bl	prtdat
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L23
.L24:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r1, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, ip, r3
	add	r3, r3, #113664
	add	r3, r3, #504
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r1, r3
	sub	r3, r3, #80
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, ip, r3
	add	r3, r3, #114688
	add	r3, r3, #432
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L23:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #119
	ble	.L24
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1052]
	b	.L25
.L26:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #14400
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #14272
	add	r3, r3, #8
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #28672
	add	r3, r3, #8
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #1
	str	r3, [r2, #-1052]
.L25:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	cmp	r3, #119
	ble	.L26
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1048]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1044]
	b	.L27
.L28:
	sub	r1, fp, #230400
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1048]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #9
	mov	r2, r3
	add	r0, r1, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1048]
	rsb	r2, r3, #1
	sub	r1, fp, #230400
	sub	r1, r1, #12
	sub	r1, r1, #8
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #9
	mov	r2, r3
	add	r3, r1, r2
	mov	r2, r0
	mov	r1, #120
	mov	r0, #120
	bl	update
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1048]
	rsb	r3, r3, #1
	str	r3, [r2, #-1048]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1044]
	add	r3, r3, #1
	str	r3, [r2, #-1044]
.L27:
	ldr	r3, .L34+8
	ldr	r3, [r3, #16]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1044]
	cmp	r2, r3
	ble	.L28
	sub	r1, fp, #230400
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1048]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #9
	mov	r2, r3
	add	r2, r1, r2
	ldr	r3, .L34+12
	mov	r1, #120
	mov	r0, #120
	bl	prtdat
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L29
.L32:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1052]
	b	.L30
.L31:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1052]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r4, r3
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	ip, r3
	mov	r2, r0
	mov	r3, r1
	ldmia	ip, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #1
	str	r3, [r2, #-1052]
.L30:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	cmp	r3, #119
	ble	.L31
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L29:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #119
	ble	.L32
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+16
	bl	printf
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC6
	.word	.LC3
	.word	parms
	.word	.LC4
	.word	.LC5
	.size	serial_heat2D, .-serial_heat2D
	.comm	threads,288,4
	.comm	problem,16,4
	.comm	totalThread,4,4
	.comm	cBarried,48,8
	.comm	mtx,24,4
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Thread tid: %ld created successful.\012\000"
	.align	2
.LC8:
	.ascii	"thread id: %ld, stating computing step...\012\000"
	.align	2
.LC9:
	.ascii	"thread id: %ld, finished computing step...\012\000"
	.text
	.align	2
	.global	mutex_worker
	.syntax unified
	.arm
	.fpu softvfp
	.type	mutex_worker, %function
mutex_worker:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	str	r0, [fp, #-96]
	ldr	r3, .L54
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-68]
	b	.L37
.L38:
	ldr	r3, [fp, #-72]
	add	r3, r3, #48
	str	r3, [fp, #-72]
.L37:
	ldr	r3, [fp, #-72]
	ldr	r4, [r3]
	bl	pthread_self
	mov	r3, r0
	cmp	r4, r3
	bne	.L38
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L54+4
	bl	printf
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-52]
	ldr	r3, .L54+8
	ldr	r3, [r3, #8]
	str	r3, [fp, #-92]
	ldr	r3, .L54+8
	ldr	r3, [r3, #12]
	str	r3, [fp, #-88]
	ldr	r3, .L54+8
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, .L54+8
	ldr	r3, [r3, #4]
	str	r3, [fp, #-44]
	ldr	r0, .L54+12
	bl	pthread_mutex_lock
	ldr	r3, .L54+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L54+16
	str	r3, [r2]
	ldr	r3, .L54+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L52
	ldr	r3, .L54+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L54+20
	bl	pthread_cond_broadcast
	b	.L40
.L52:
	nop
.L41:
	ldr	r1, .L54+12
	ldr	r0, .L54+20
	bl	pthread_cond_wait
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
.L40:
	ldr	r0, .L54+12
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L54+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L42
.L50:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L43
.L46:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L44
.L45:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, .L54+28
	ldmia	r3, {r6-r7}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L54+28
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r4, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L44:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L45
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L43:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L46
	ldr	r0, .L54+12
	bl	pthread_mutex_lock
	ldr	r3, .L54+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L54+16
	str	r3, [r2]
	ldr	r3, .L54+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L53
	ldr	r3, .L54+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-88]
	ldr	r0, .L54+20
	bl	pthread_cond_broadcast
	b	.L48
.L53:
	nop
.L49:
	ldr	r1, .L54+12
	ldr	r0, .L54+20
	bl	pthread_cond_wait
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
.L48:
	ldr	r0, .L54+12
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L42:
	ldr	r3, .L54+28
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	ble	.L50
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L54+32
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L55:
	.align	2
.L54:
	.word	threads
	.word	.LC7
	.word	problem
	.word	mtx
	.word	totalThread
	.word	cBarried
	.word	.LC8
	.word	parms
	.word	.LC9
	.size	mutex_worker, .-mutex_worker
	.section	.rodata
	.align	2
.LC10:
	.ascii	"initial_parallel.dat\000"
	.align	2
.LC11:
	.ascii	"Thread id: %ld, nx_local = %ld, ny_local = %ld \012"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"Thread id: %ld, offset_x = %ld, offset_y = %ld \012"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"Thread id: %ld, up_id = %ld, bottom_id = %ld, \000"
	.align	2
.LC14:
	.ascii	"left_id = %ld, right_id = %ld\012\000"
	.align	2
.LC15:
	.ascii	"final_parallel.dat\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parallel_heat2D
	.syntax unified
	.arm
	.fpu softvfp
	.type	parallel_heat2D, %function
parallel_heat2D:
	@ args = 0, pretend = 0, frame = 230448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #230400
	sub	sp, sp, #52
	ldr	r3, .L89+52
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #84
	bl	sysconf
	str	r0, [r4, #-1072]
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, r3
	mov	r1, #120
	mov	r0, #120
	bl	inidat
	sub	r2, fp, #230400
	sub	r2, r2, #12
	sub	r2, r2, #8
	ldr	r3, .L89
	mov	r1, #120
	mov	r0, #120
	bl	prtdat
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1060]
	b	.L57
.L58:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1060]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r1, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1060]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, ip, r3
	add	r3, r3, #113664
	add	r3, r3, #504
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1060]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r1, r3
	sub	r3, r3, #80
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1060]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, ip, r3
	add	r3, r3, #114688
	add	r3, r3, #432
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r3, r3, #1
	str	r3, [r2, #-1060]
.L57:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #119
	ble	.L58
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L59
.L60:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #14400
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #14272
	add	r3, r3, #8
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #28672
	add	r3, r3, #8
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L59:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #119
	ble	.L60
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	cmp	r3, #6
	ble	.L61
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-1072]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-1048]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-1044]
	b	.L62
.L61:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	str	r3, [r2, #-1048]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1044]
.L62:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1068]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1064]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L63
.L79:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1060]
	b	.L64
.L78:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1060]
	add	r3, r2, r3
	str	r3, [r1, #-1052]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #4
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1052]
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1060]
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #12
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1056]
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #1
	bgt	.L65
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #0
	bgt	.L65
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	mov	r2, #39
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #20
	mov	r2, #59
	str	r2, [r3]
	b	.L66
.L65:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #1
	bgt	.L67
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	mov	r2, #39
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #20
	mov	r2, #59
	str	r2, [r3]
	b	.L66
.L67:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #0
	bgt	.L68
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	mov	r2, #40
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #20
	mov	r2, #59
	str	r2, [r3]
	b	.L66
.L68:
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	mov	r2, #40
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #20
	mov	r2, #59
	str	r2, [r3]
.L66:
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r1, [r3]
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r1
	ldr	r1, [r0, #-1052]
	ldr	r0, .L89+4
	bl	printf
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #24
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #28
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1064]
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	add	r3, r2, r3
	str	r3, [r1, #-1068]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r1, [r3]
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #28
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r1
	ldr	r1, [r0, #-1052]
	ldr	r0, .L89+8
	bl	printf
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #0
	bne	.L69
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #0
	bne	.L69
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #36
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #40
	mvn	r2, #0
	str	r2, [r3]
	b	.L70
.L69:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #2
	bne	.L71
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #0
	bne	.L71
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #36
	mvn	r2, #0
	str	r2, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #44
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	b	.L70
.L71:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #0
	bne	.L72
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #1
	bne	.L72
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #32
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #40
	mvn	r2, #0
	str	r2, [r3]
	b	.L70
.L72:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #2
	bne	.L73
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #1
	bne	.L73
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #32
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #44
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	b	.L70
.L73:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #0
	bne	.L74
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #36
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	b	.L70
.L74:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #1
	bne	.L75
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #32
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	b	.L70
.L90:
	.align	2
.L89:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	totalThread
	.word	problem
	.word	mutex_worker
	.word	threads
	.word	mtx
	.word	cBarried
	.word	.LC15
	.word	.LC5
	.word	.LC16
.L75:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #0
	bne	.L76
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #40
	mvn	r2, #0
	str	r2, [r3]
	b	.L70
.L76:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #2
	bne	.L77
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #44
	mvn	r2, #0
	str	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	b	.L70
.L77:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r2, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	str	r1, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r1, r3, #1
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
.L70:
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r1, [r3]
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #36
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r1
	ldr	r1, [r0, #-1052]
	ldr	r0, .L89+12
	bl	printf
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #40
	ldr	r1, [r3]
	ldr	r0, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #44
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L89+16
	bl	printf
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r3, r3, #1
	str	r3, [r2, #-1060]
.L64:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #2
	ble	.L78
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1064]
	add	r3, r2, r3
	str	r3, [r1, #-1064]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1068]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L63:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #1
	ble	.L79
	mov	r1, #0
	ldr	r0, .L89+36
	bl	pthread_mutex_init
	mov	r1, #0
	ldr	r0, .L89+40
	bl	pthread_cond_init
	ldr	r3, .L89+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L89+24
	mov	r2, #120
	str	r2, [r3]
	ldr	r3, .L89+24
	mov	r2, #120
	str	r2, [r3, #4]
	ldr	r2, .L89+24
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [r2, #8]
	ldr	r2, .L89+24
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r3, r3, #114688
	add	r3, r3, #512
	str	r3, [r2, #12]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1052]
	b	.L80
.L81:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L89+32
	add	r0, r3, r2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	ldr	r2, .L89+28
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #1
	str	r3, [r2, #-1052]
.L80:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-1052]
	ldr	r3, [r3, #-1072]
	cmp	r2, r3
	blt	.L81
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1052]
	b	.L82
.L83:
	ldr	r1, .L89+32
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1052]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	add	r3, r3, #1
	str	r3, [r2, #-1052]
.L82:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-1052]
	ldr	r3, [r3, #-1072]
	cmp	r2, r3
	blt	.L83
	ldr	r0, .L89+36
	bl	pthread_mutex_destroy
	ldr	r0, .L89+40
	bl	pthread_cond_destroy
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r2, r3, #114688
	add	r2, r2, #512
	ldr	r3, .L89+44
	mov	r1, #120
	mov	r0, #120
	bl	prtdat
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1060]
	b	.L84
.L87:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L85
.L86:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-1060]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-1056]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r4, r3
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	ip, r3
	mov	r2, r0
	mov	r3, r1
	ldmia	ip, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L85:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	cmp	r3, #119
	ble	.L86
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	add	r3, r3, #1
	str	r3, [r2, #-1060]
.L84:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	cmp	r3, #119
	ble	.L87
	sub	r3, fp, #230400
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L89+48
	bl	printf
	nop
	ldr	r3, .L89+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	parallel_heat2D, .-parallel_heat2D
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012 Problem Scale: NXPROB = %d, NYPROB = %d\357\274"
	.ascii	"\214 nts = %d\012\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC18:
	.ascii	"mtx parallel:  cost = %15.10lf \012\000"
	.align	2
.LC19:
	.ascii	"serial:  cost = %15.10lf \012\000"
	.align	2
.LC20:
	.ascii	"Speed Up = %lf\012\000"
	.align	2
.LC21:
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L94+4
	ldr	r3, [r3, #16]
	mov	r2, #120
	mov	r1, #120
	ldr	r0, .L94+8
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	bl	parallel_heat2D
	sub	r3, fp, #24
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L94+12
	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, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L94+16
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	bl	serial_heat2D
	sub	r3, fp, #24
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L94+12
	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, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L94+20
	bl	printf
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L94+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L94
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L93
	bl	__stack_chk_fail
.L93:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC21
	.word	parms
	.word	.LC17
	.word	1104006501
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
