	.file	"505503.c"
	.intel_syntax noprefix
	.text
	.globl	mutex_norm
	.bss
	.align 32
	.type	mutex_norm, @object
	.size	mutex_norm, 40
mutex_norm:
	.zero	40
	.globl	CurRow_norm
	.align 32
	.type	CurRow_norm, @object
	.size	CurRow_norm, 40
CurRow_norm:
	.zero	40
	.globl	mutex_Row
	.align 32
	.type	mutex_Row, @object
	.size	mutex_Row, 40
mutex_Row:
	.zero	40
	.globl	count_threshold_cv
	.align 32
	.type	count_threshold_cv, @object
	.size	count_threshold_cv, 48
count_threshold_cv:
	.zero	48
	.globl	mutex_Res
	.align 8
	.type	mutex_Res, @object
	.size	mutex_Res, 8
mutex_Res:
	.zero	8
	.globl	NormRow
	.align 8
	.type	NormRow, @object
	.size	NormRow, 8
NormRow:
	.zero	8
	.globl	Res
	.align 8
	.type	Res, @object
	.size	Res, 8
Res:
	.zero	8
	.globl	dist_row
	.align 4
	.type	dist_row, @object
	.size	dist_row, 4
dist_row:
	.zero	4
	.globl	dist_col
	.align 4
	.type	dist_col, @object
	.size	dist_col, 4
dist_col:
	.zero	4
	.globl	iteration
	.align 4
	.type	iteration, @object
	.size	iteration, 4
iteration:
	.zero	4
	.globl	rmajor
	.align 4
	.type	rmajor, @object
	.size	rmajor, 4
rmajor:
	.zero	4
	.globl	cmajor
	.align 4
	.type	cmajor, @object
	.size	cmajor, 4
cmajor:
	.zero	4
	.globl	perfect_square
	.align 4
	.type	perfect_square, @object
	.size	perfect_square, 4
perfect_square:
	.zero	4
	.globl	row
	.align 4
	.type	row, @object
	.size	row, 4
row:
	.zero	4
	.globl	col
	.align 4
	.type	col, @object
	.size	col, 4
col:
	.zero	4
	.globl	currentRow
	.align 4
	.type	currentRow, @object
	.size	currentRow, 4
currentRow:
	.zero	4
	.globl	InMat
	.align 8
	.type	InMat, @object
	.size	InMat, 8
InMat:
	.zero	8
	.globl	numberOfThreads
	.align 4
	.type	numberOfThreads, @object
	.size	numberOfThreads, 4
numberOfThreads:
	.zero	4
	.globl	infinitynorm_row
	.align 8
	.type	infinitynorm_row, @object
	.size	infinitynorm_row, 8
infinitynorm_row:
	.zero	8
	.text
	.globl	doRowWise
	.type	doRowWise, @function
doRowWise:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR dist_row[rip]
	imul	eax, edx
	mov	DWORD PTR -16[rbp], eax
	jmp	.L2
.L6:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L4:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR InMat[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, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR col[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L4
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L5
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
.L5:
	add	DWORD PTR -16[rbp], 1
.L2:
	mov	eax, DWORD PTR dist_row[rip]
	imul	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L6
	lea	rdi, mutex_norm[rip]
	call	pthread_mutex_lock@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movsd	xmm1, QWORD PTR NormRow[rip]
	comisd	xmm0, xmm1
	jbe	.L7
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movsd	QWORD PTR NormRow[rip], xmm0
.L7:
	lea	rdi, mutex_norm[rip]
	call	pthread_mutex_unlock@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	doRowWise, .-doRowWise
	.section	.rodata
	.align 8
.LC1:
	.string	"\n\t\t---------------------------------------------------------------------------"
	.align 8
.LC2:
	.string	"\n\t\t Centre for Development of Advanced Computing (C-DAC)"
.LC3:
	.string	"\n\t\t Email : hpcfte@cdac.in"
	.align 8
.LC4:
	.string	"\n\t\t Objective : Dense Matrix Computations (Floating-Point Operations)\n "
	.align 8
.LC5:
	.string	"\n\t\t Computation of Infinity Norm of a Square Matrix - Rowwise partitioning;"
	.align 8
.LC6:
	.string	"\n\t\t.........................................................................."
.LC7:
	.string	"\t\t Very Few Arguments\n "
	.align 8
.LC8:
	.string	"\t\t Syntax : exec <Class-Size> <Threads>"
.LC9:
	.string	"A"
.LC10:
	.string	"B"
.LC11:
	.string	"C"
.LC12:
	.string	"\n\t\t Input Parameters :"
.LC13:
	.string	"\n\t\t CLASS           :  %c"
.LC14:
	.string	"\n\t\t Matrix Size     :  %d"
.LC15:
	.string	"\n\t\t Threads         :  %d"
	.align 8
.LC16:
	.string	"\n Number of Threads must be 1 or 2 or 4 or 8. Aborting ..."
	.align 8
.LC17:
	.string	"\nNumber of threads should be <= %d"
	.align 8
.LC18:
	.string	"\n Not sufficient memory to accomadate InMat1"
	.align 8
.LC20:
	.string	"\n ERROR : Return code from pthread_create() is %d "
	.align 8
.LC21:
	.string	"\n ERROR : Return code from pthread_join() is %d "
	.align 8
.LC22:
	.string	"\n\t\t Row Wise partitioning - Infinity Norm of a Square Matrix.....Done "
	.align 8
.LC24:
	.string	"\n\t\t Memory Utilized       :  %lf MB"
	.align 8
.LC25:
	.string	"\n\t\t Time in  Seconds (T)  :  %lf"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 184
	.cfi_offset 3, -24
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -144[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	cmp	DWORD PTR -180[rbp], 3
	je	.L11
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -160[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR -168[rbp], 1024
.L12:
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -168[rbp], 2048
.L13:
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR -168[rbp], 4096
.L14:
	mov	eax, DWORD PTR -160[rbp]
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR row[rip], eax
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR col[rip], eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	cmp	DWORD PTR -156[rbp], 1
	je	.L15
	cmp	DWORD PTR -156[rbp], 2
	je	.L15
	cmp	DWORD PTR -156[rbp], 4
	je	.L15
	cmp	DWORD PTR -156[rbp], 8
	je	.L15
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR row[rip]
	cmp	DWORD PTR -156[rbp], eax
	jle	.L16
	mov	eax, DWORD PTR row[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR row[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR InMat[rip], rax
	mov	DWORD PTR -176[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR col[rip]
	cdqe
	sal	rax, 3
	mov	rcx, QWORD PTR InMat[rip]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -176[rbp], 1
.L17:
	mov	eax, DWORD PTR row[rip]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L18
	mov	rax, QWORD PTR InMat[rip]
	test	rax, rax
	jne	.L19
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L19:
	mov	edx, DWORD PTR row[rip]
	mov	eax, DWORD PTR col[rip]
	imul	eax, edx
	cdqe
	sal	rax, 3
	test	rax, rax
	js	.L20
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L21
.L20:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L21:
	movsd	QWORD PTR -144[rbp], xmm0
	mov	DWORD PTR -176[rbp], 0
	jmp	.L22
.L25:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L23
.L24:
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	lea	ecx, [rdx+rax]
	mov	rdx, QWORD PTR InMat[rip]
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, ecx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -172[rbp], 1
.L23:
	mov	eax, DWORD PTR col[rip]
	cmp	DWORD PTR -172[rbp], eax
	jl	.L24
	add	DWORD PTR -176[rbp], 1
.L22:
	mov	eax, DWORD PTR row[rip]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L25
	mov	eax, DWORD PTR row[rip]
	cdq
	idiv	DWORD PTR -156[rbp]
	mov	DWORD PTR dist_row[rip], eax
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	lea	rdx, -104[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -96[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -120[rbp], xmm0
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -164[rbp]
	add	eax, 1
	cdqe
	mov	rdx, rax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	lea	rdi, [rcx+rax]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	lea	rdx, doRowWise[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	je	.L27
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L27:
	add	DWORD PTR -164[rbp], 1
.L26:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L28
	mov	DWORD PTR -164[rbp], 0
	jmp	.L29
.L31:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	je	.L30
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L30:
	add	DWORD PTR -164[rbp], 1
.L29:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L31
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	pthread_attr_destroy@PLT
	mov	rax, QWORD PTR InMat[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdx, -104[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -96[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	mov	edi, 10
	call	putchar@PLT
	movsd	xmm0, QWORD PTR -144[rbp]
	movsd	xmm1, QWORD PTR .LC23[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -112[rbp]
	subsd	xmm0, QWORD PTR -120[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC25[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC19:
	.long	0
	.long	1093567616
	.align 8
.LC23:
	.long	0
	.long	1093664768
	.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	"505503.c"
	.text
	.global	mutex_norm
	.bss
	.align	2
	.type	mutex_norm, %object
	.size	mutex_norm, 24
mutex_norm:
	.space	24
	.global	CurRow_norm
	.align	2
	.type	CurRow_norm, %object
	.size	CurRow_norm, 24
CurRow_norm:
	.space	24
	.global	mutex_Row
	.align	2
	.type	mutex_Row, %object
	.size	mutex_Row, 24
mutex_Row:
	.space	24
	.global	count_threshold_cv
	.align	3
	.type	count_threshold_cv, %object
	.size	count_threshold_cv, 48
count_threshold_cv:
	.space	48
	.comm	mutex_Res,4,4
	.global	NormRow
	.align	3
	.type	NormRow, %object
	.size	NormRow, 8
NormRow:
	.space	8
	.comm	Res,4,4
	.comm	dist_row,4,4
	.comm	dist_col,4,4
	.comm	iteration,4,4
	.comm	rmajor,4,4
	.comm	cmajor,4,4
	.comm	perfect_square,4,4
	.comm	row,4,4
	.comm	col,4,4
	.global	currentRow
	.align	2
	.type	currentRow, %object
	.size	currentRow, 4
currentRow:
	.space	4
	.comm	InMat,4,4
	.comm	numberOfThreads,4,4
	.comm	infinitynorm_row,8,8
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.global	__aeabi_dcmpgt
	.text
	.align	2
	.global	doRowWise
	.syntax unified
	.arm
	.fpu softvfp
	.type	doRowWise, %function
doRowWise:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, .L10
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2d
	ldr	r3, .L10+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, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, .L10+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L4
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L5
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L6
	ldr	r0, .L10+12
	bl	pthread_mutex_lock
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	ldr	r3, .L10+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L10+16
	stm	r1, {r2-r3}
.L7:
	ldr	r0, .L10+12
	bl	pthread_mutex_unlock
	mov	r0, #0
	bl	pthread_exit
.L11:
	.align	2
.L10:
	.word	dist_row
	.word	InMat
	.word	col
	.word	mutex_norm
	.word	NormRow
	.size	doRowWise, .-doRowWise
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\011\011---------------------------------------"
	.ascii	"------------------------------------\000"
	.align	2
.LC1:
	.ascii	"\012\011\011 Centre for Development of Advanced Com"
	.ascii	"puting (C-DAC)\000"
	.align	2
.LC2:
	.ascii	"\012\011\011 Email : hpcfte@cdac.in\000"
	.align	2
.LC3:
	.ascii	"\012\011\011 Objective : Dense Matrix Computations "
	.ascii	"(Floating-Point Operations)\012 \000"
	.align	2
.LC4:
	.ascii	"\012\011\011 Computation of Infinity Norm of a Squa"
	.ascii	"re Matrix - Rowwise partitioning;\000"
	.align	2
.LC5:
	.ascii	"\012\011\011......................................."
	.ascii	"...................................\000"
	.align	2
.LC6:
	.ascii	"\011\011 Very Few Arguments\012 \000"
	.align	2
.LC7:
	.ascii	"\011\011 Syntax : exec <Class-Size> <Threads>\000"
	.align	2
.LC8:
	.ascii	"A\000"
	.align	2
.LC9:
	.ascii	"B\000"
	.align	2
.LC10:
	.ascii	"C\000"
	.align	2
.LC11:
	.ascii	"\012\011\011 Input Parameters :\000"
	.align	2
.LC12:
	.ascii	"\012\011\011 CLASS           :  %c\000"
	.align	2
.LC13:
	.ascii	"\012\011\011 Matrix Size     :  %d\000"
	.align	2
.LC14:
	.ascii	"\012\011\011 Threads         :  %d\000"
	.align	2
.LC15:
	.ascii	"\012 Number of Threads must be 1 or 2 or 4 or 8. Ab"
	.ascii	"orting ...\000"
	.align	2
.LC16:
	.ascii	"\012Number of threads should be <= %d\000"
	.align	2
.LC17:
	.ascii	"\012 Not sufficient memory to accomadate InMat1\000"
	.global	__aeabi_ui2d
	.global	__aeabi_idiv
	.global	__aeabi_ddiv
	.align	2
.LC18:
	.ascii	"\012 ERROR : Return code from pthread_create() is %"
	.ascii	"d \000"
	.align	2
.LC19:
	.ascii	"\012 ERROR : Return code from pthread_join() is %d "
	.ascii	"\000"
	.align	2
.LC20:
	.ascii	"\012\011\011 Row Wise partitioning - Infinity Norm "
	.ascii	"of a Square Matrix.....Done \000"
	.align	2
.LC21:
	.ascii	"\012\011\011 Memory Utilized       :  %lf MB\000"
	.global	__aeabi_dsub
	.align	2
.LC22:
	.ascii	"\012\011\011 Time in  Seconds (T)  :  %lf\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r0, .L34+4
	bl	printf
	ldr	r0, .L34+8
	bl	printf
	ldr	r0, .L34+12
	bl	printf
	ldr	r0, .L34+4
	bl	printf
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+20
	bl	printf
	ldr	r0, .L34+24
	bl	puts
	ldr	r3, [fp, #-136]
	cmp	r3, #3
	beq	.L13
	ldr	r0, .L34+28
	bl	printf
	ldr	r0, .L34+32
	bl	puts
	mvn	r0, #0
	bl	exit
.L13:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-140]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-112]
	ldr	r1, .L34+36
	ldr	r0, [fp, #-116]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #1024
	str	r3, [fp, #-124]
.L14:
	ldr	r1, .L34+40
	ldr	r0, [fp, #-116]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #2048
	str	r3, [fp, #-124]
.L15:
	ldr	r1, .L34+44
	ldr	r0, [fp, #-116]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #4096
	str	r3, [fp, #-124]
.L16:
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-104]
	ldr	r2, .L34+48
	ldr	r3, [fp, #-104]
	str	r3, [r2]
	ldr	r2, .L34+52
	ldr	r3, [fp, #-104]
	str	r3, [r2]
	ldr	r0, .L34+56
	bl	printf
	ldr	r3, [fp, #-116]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L34+60
	bl	printf
	ldr	r1, [fp, #-104]
	ldr	r0, .L34+64
	bl	printf
	ldr	r1, [fp, #-108]
	ldr	r0, .L34+68
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-108]
	cmp	r3, #1
	beq	.L17
	ldr	r3, [fp, #-108]
	cmp	r3, #2
	beq	.L17
	ldr	r3, [fp, #-108]
	cmp	r3, #4
	beq	.L17
	ldr	r3, [fp, #-108]
	cmp	r3, #8
	beq	.L17
	ldr	r0, .L34+72
	bl	puts
	mov	r0, #0
	bl	exit
.L17:
	ldr	r3, .L34+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	ble	.L18
	ldr	r3, .L34+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+76
	bl	printf
	mov	r0, #0
	bl	exit
.L18:
	ldr	r3, .L34+48
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L34+80
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L19
.L20:
	ldr	r3, .L34+52
	ldr	r3, [r3]
	lsl	r1, r3, #3
	ldr	r3, .L34+80
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L19:
	ldr	r3, .L34+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L20
	ldr	r3, .L34+80
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L34+84
	bl	printf
	mov	r0, #0
	bl	exit
.L21:
	ldr	r3, .L34+48
	ldr	r3, [r3]
	ldr	r2, .L34+52
	ldr	r2, [r2]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L22
.L25:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L23
.L24:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-128]
	add	r1, r2, r3
	ldr	r3, .L34+80
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L23:
	ldr	r3, .L34+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L22:
	ldr	r3, .L34+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L25
	ldr	r3, .L34+48
	ldr	r3, [r3]
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L34+88
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	sub	r2, fp, #60
	sub	r3, fp, #68
	mov	r1, r2
	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, .L34+92
	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]
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_init
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L26
.L28:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r0, r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	sub	r1, fp, #52
	ldr	r2, .L34+96
	bl	pthread_create
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L27
	ldr	r1, [fp, #-96]
	ldr	r0, .L34+100
	bl	printf
	mvn	r0, #0
	bl	exit
.L27:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L26:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L28
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L29
.L31:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L30
	ldr	r1, [fp, #-96]
	ldr	r0, .L34+104
	bl	printf
	mvn	r0, #0
	bl	exit
.L30:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L29:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L31
	ldr	r0, .L34+108
	bl	printf
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_destroy
	ldr	r3, .L34+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-100]
	bl	free
	sub	r2, fp, #60
	sub	r3, fp, #68
	mov	r1, r2
	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, .L34+92
	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, #-76]
	str	r3, [fp, #-72]
	mov	r0, #10
	bl	putchar
	mov	r2, #0
	ldr	r3, .L34+112
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L34+116
	bl	printf
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L34+120
	bl	printf
	ldr	r0, .L34+24
	bl	puts
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC23
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	row
	.word	col
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	InMat
	.word	.LC17
	.word	dist_row
	.word	1093567616
	.word	doRowWise
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	1093664768
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
