	.file	"53635.c"
	.intel_syntax noprefix
	.text
	.globl	swap
	.type	swap, @function
swap:
.LFB0:
	.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	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	swap, .-swap
	.globl	shareMem
	.type	shareMem, @function
shareMem:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 950
	mov	rsi, rcx
	mov	edi, eax
	call	shmget@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	shareMem, .-shareMem
	.globl	merge
	.type	merge, @function
merge:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	DWORD PTR -128[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -124[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -124[rbp]
	add	eax, edx
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, DWORD PTR -124[rbp]
	add	eax, 1
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -56[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -124[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -88[rbp], 1
.L11:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L12
	mov	DWORD PTR -92[rbp], 0
	jmp	.L13
.L14:
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -92[rbp], 1
.L13:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L14
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -104[rbp], eax
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jg	.L16
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	mov	edx, DWORD PTR -104[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -104[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -120[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rcx], eax
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	mov	edx, DWORD PTR -104[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -104[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -120[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -48[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rcx], eax
.L15:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jge	.L19
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L18
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	mov	edx, DWORD PTR -104[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -104[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -120[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rcx], eax
.L19:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L20
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	mov	edx, DWORD PTR -104[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -104[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -120[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -48[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rcx], eax
.L21:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L22
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	merge, .-merge
	.globl	normal_mergeSort
	.type	normal_mergeSort, @function
normal_mergeSort:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L27
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	normal_mergeSort
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	normal_mergeSort
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge
	jmp	.L24
.L27:
	nop
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	normal_mergeSort, .-normal_mergeSort
	.globl	mergeSort
	.type	mergeSort, @function
mergeSort:
.LFB4:
	.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 -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L29
	mov	edi, 1
	call	_exit@PLT
.L29:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -60[rbp]
	cmp	eax, 3
	jg	.L30
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -32[rbp], eax
	jmp	.L31
.L35:
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L33
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -28[rbp], eax
.L33:
	add	DWORD PTR -24[rbp], 1
.L32:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L34
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	add	DWORD PTR -32[rbp], 1
.L31:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jg	.L35
	jmp	.L28
.L30:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	call	fork@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jne	.L37
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	mergeSort
	mov	edi, 1
	call	_exit@PLT
.L37:
	call	fork@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L38
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	mergeSort
	mov	edi, 1
	call	_exit@PLT
.L38:
	lea	rcx, -36[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -36[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	edx, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge
	nop
.L28:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mergeSort, .-mergeSort
	.globl	threaded_mergeSort
	.type	threaded_mergeSort, @function
threaded_mergeSort:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jle	.L41
	mov	eax, 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -92[rbp]
	cmp	eax, 3
	jg	.L43
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -104[rbp], eax
	jmp	.L44
.L48:
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	add	eax, 1
	mov	DWORD PTR -96[rbp], eax
	jmp	.L45
.L47:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L46
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -100[rbp], eax
.L46:
	add	DWORD PTR -96[rbp], 1
.L45:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jle	.L47
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap
	add	DWORD PTR -104[rbp], 1
.L44:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jg	.L48
	mov	eax, 0
	jmp	.L40
.L43:
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	lea	rdx, threaded_mergeSort[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -32[rbp]
	lea	rax, -72[rbp]
	mov	rcx, rdx
	lea	rdx, threaded_mergeSort[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	edx, DWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge
.L40:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	threaded_mergeSort, .-threaded_mergeSort
	.section	.rodata
.LC0:
	.string	"Enter the array: "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Running concurrent_mergesort for n = %lld\n"
.LC4:
	.string	"%d "
.LC5:
	.string	"time = %Lf\n"
	.align 8
.LC6:
	.string	"Running threaded_concurrent_mergesort for n = %lld\n"
	.align 8
.LC7:
	.string	"Running normal_mergesort for n = %lld\n"
	.align 8
.LC8:
	.string	"normal_mergesort ran:\n\t[ %Lf ] times faster than concurrent_mergesort\n\t[ %Lf ] times faster than threaded_concurrent_mergesort\n\n\n"
	.text
	.globl	runSorts
	.type	runSorts, @function
runSorts:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 264
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -264[rbp]
	add	rax, 1
	sal	rax, 2
	mov	rdi, rax
	call	shareMem
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -228[rbp], 0
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -228[rbp], 1
.L52:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jg	.L53
	mov	rax, QWORD PTR -264[rbp]
	add	rax, 1
	mov	rdx, rsp
	mov	rbx, rdx
	lea	rdx, -1[rax]
	mov	QWORD PTR -208[rbp], rdx
	mov	rdx, rax
	mov	QWORD PTR -288[rbp], rdx
	mov	QWORD PTR -280[rbp], 0
	mov	rdx, rax
	mov	QWORD PTR -304[rbp], rdx
	mov	QWORD PTR -296[rbp], 0
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L54:
	cmp	rsp, rdx
	je	.L55
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L54
.L55:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L56
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L56:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	add	rax, 1
	lea	rdx, -1[rax]
	mov	QWORD PTR -192[rbp], rdx
	mov	rdx, rax
	mov	r14, rdx
	mov	r15d, 0
	mov	rdx, rax
	mov	r12, rdx
	mov	r13d, 0
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L57:
	cmp	rsp, rdx
	je	.L58
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L57
.L58:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L59
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L59:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -184[rbp], rax
	mov	DWORD PTR -232[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -232[rbp], 1
.L60:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jg	.L61
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -144[rbp]
	mov	rax, QWORD PTR -264[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	mergeSort
	mov	DWORD PTR -236[rbp], 0
	jmp	.L62
.L63:
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -236[rbp], 1
.L62:
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jg	.L63
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	fstp	TBYTE PTR -112[rbp]
	mov	DWORD PTR -160[rbp], 0
	mov	rax, QWORD PTR -264[rbp]
	sub	eax, 1
	mov	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm2
	movapd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -144[rbp]
	lea	rdx, -160[rbp]
	lea	rax, -224[rbp]
	mov	rcx, rdx
	lea	rdx, threaded_mergeSort[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -240[rbp], 0
	jmp	.L64
.L65:
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -240[rbp], 1
.L64:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jg	.L65
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm2
	movapd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	fstp	TBYTE PTR -96[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm2
	movapd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -144[rbp]
	mov	rax, QWORD PTR -264[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	normal_mergeSort
	mov	DWORD PTR -244[rbp], 0
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -244[rbp], 1
.L66:
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jg	.L67
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm2
	movapd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm1, xmm0
	movsd	QWORD PTR -288[rbp], xmm1
	fld	QWORD PTR -288[rbp]
	fstp	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	fld	TBYTE PTR -128[rbp]
	fld	TBYTE PTR -144[rbp]
	fsubp	st(1), st
	fstp	TBYTE PTR -80[rbp]
	fld	TBYTE PTR -96[rbp]
	fld	TBYTE PTR -80[rbp]
	fdivp	st(1), st
	fld	TBYTE PTR -112[rbp]
	fld	TBYTE PTR -80[rbp]
	fdivp	st(1), st
	fxch	st(1)
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	shmdt@PLT
	nop
	mov	rsp, rbx
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	runSorts, .-runSorts
	.section	.rodata
	.align 8
.LC10:
	.string	"Enter size of array to be sorted: "
.LC11:
	.string	"%lld"
	.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
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	runSorts
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L72
	call	__stack_chk_fail@PLT
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.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	"53635.c"
	.text
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	swap, .-swap
	.align	2
	.global	shareMem
	.syntax unified
	.arm
	.fpu softvfp
	.type	shareMem, %function
shareMem:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r2, .L4
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	shmget
	str	r0, [fp, #-8]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	shmat
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	950
	.size	shareMem, .-shareMem
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, sp
	mov	lr, r3
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	ip, [fp, #-32]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	ip, [fp, #-28]
	sub	r3, ip, #1
	str	r3, [fp, #-16]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L7
.L8:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L7:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L9
.L10:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-44]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L9:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-56]
	b	.L11
.L14:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-48]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-52]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bgt	.L12
	ldr	r3, [fp, #-48]
	add	r2, r3, #1
	str	r2, [fp, #-48]
	ldr	r2, [fp, #-56]
	add	r1, r2, #1
	str	r1, [fp, #-56]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-64]
	add	r2, r1, r2
	ldr	r1, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [r2]
	b	.L11
.L12:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, [fp, #-56]
	add	r1, r2, #1
	str	r1, [fp, #-56]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-64]
	add	r2, r1, r2
	ldr	r1, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [r2]
.L11:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L15
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L14
	b	.L15
.L16:
	ldr	r3, [fp, #-48]
	add	r2, r3, #1
	str	r2, [fp, #-48]
	ldr	r2, [fp, #-56]
	add	r1, r2, #1
	str	r1, [fp, #-56]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-64]
	add	r2, r1, r2
	ldr	r1, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [r2]
.L15:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L16
	b	.L17
.L18:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, [fp, #-56]
	add	r1, r2, #1
	str	r1, [fp, #-56]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-64]
	add	r2, r1, r2
	ldr	r1, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [r2]
.L17:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L18
	mov	sp, lr
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.size	merge, .-merge
	.align	2
	.global	normal_mergeSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	normal_mergeSort, %function
normal_mergeSort:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L25
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	normal_mergeSort
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	normal_mergeSort
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	merge
	b	.L22
.L25:
	nop
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	normal_mergeSort, .-normal_mergeSort
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mergeSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergeSort, %function
mergeSort:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L27
	mov	r0, #1
	bl	_exit
.L27:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	cmp	r3, #3
	bgt	.L28
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	b	.L29
.L33:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L30
.L32:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L31
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
.L31:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L30:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L32
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r0, r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r1, r3
	bl	swap
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L29:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bgt	.L33
	b	.L26
.L28:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L35
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	mergeSort
	mov	r0, #1
	bl	_exit
.L35:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	mergeSort
	mov	r0, #1
	bl	_exit
.L36:
	sub	r3, fp, #36
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	waitpid
	sub	r3, fp, #36
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	waitpid
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	merge
	nop
.L26:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC1
	.size	mergeSort, .-mergeSort
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	threaded_mergeSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	threaded_mergeSort, %function
threaded_mergeSort:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	ble	.L41
	mov	r3, #0
	b	.L40
.L41:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	cmp	r3, #3
	bgt	.L43
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-64]
	b	.L44
.L48:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L45
.L47:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L46
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-60]
.L46:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L45:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	ble	.L47
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r0, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r1, r3
	bl	swap
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L44:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bgt	.L48
	mov	r3, #0
	b	.L40
.L43:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	sub	r3, fp, #32
	sub	r0, fp, #72
	ldr	r2, .L51+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	sub	r3, fp, #20
	sub	r0, fp, #68
	ldr	r2, .L51+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-72]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-68]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	merge
.L40:
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC2
	.word	threaded_mergeSort
	.size	threaded_mergeSort, .-threaded_mergeSort
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter the array: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Running concurrent_mergesort for n = %lld\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC6:
	.ascii	"%d \000"
	.global	__aeabi_dsub
	.align	2
.LC7:
	.ascii	"time = %Lf\012\000"
	.align	2
.LC8:
	.ascii	"Running threaded_concurrent_mergesort for n = %lld\012"
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"Running normal_mergesort for n = %lld\012\000"
	.align	2
.LC10:
	.ascii	"normal_mergesort ran:\012\011[ %Lf ] times faster t"
	.ascii	"han concurrent_mergesort\012\011[ %Lf ] times faste"
	.ascii	"r than threaded_concurrent_mergesort\012\012\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	runSorts
	.syntax unified
	.arm
	.fpu softvfp
	.type	runSorts, %function
runSorts:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #128
	str	r0, [fp, #-148]
	str	r1, [fp, #-144]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r0, .L66+4
	bl	puts
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	mov	r3, r8
	lsl	r3, r3, #2
	mov	r0, r3
	bl	shareMem
	str	r0, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L54
.L55:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L66+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L54:
	ldr	r3, [fp, #-116]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L55
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	mov	r3, sp
	mov	r8, r3
	mov	r3, r6
	sub	r3, r3, #1
	str	r3, [fp, #-108]
	mov	r3, r6
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, r6
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-104]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	mov	r3, r4
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L56
.L57:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-120]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-120]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L56:
	ldr	r3, [fp, #-120]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L57
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	ldr	r0, .L66+12
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-112]
	bl	mergeSort
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L58
.L59:
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L66+20
	bl	printf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L58:
	ldr	r3, [fp, #-124]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L59
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L66+24
	bl	printf
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-36]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	ldr	r0, .L66+28
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #44
	sub	r0, fp, #136
	ldr	r2, .L66+32
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-136]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L60
.L61:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L66+20
	bl	printf
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L60:
	ldr	r3, [fp, #-128]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L61
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L66+24
	bl	printf
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	ldr	r0, .L66+36
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	normal_mergeSort
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L62
.L63:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-132]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L66+20
	bl	printf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L62:
	ldr	r3, [fp, #-132]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L63
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #52
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L66+24
	bl	printf
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L66+40
	bl	printf
	ldr	r0, [fp, #-112]
	bl	shmdt
	nop
	mov	sp, r8
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC11
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1104006501
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	threaded_mergeSort
	.word	.LC9
	.word	.LC10
	.size	runSorts, .-runSorts
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Enter size of array to be sorted: \000"
	.align	2
.LC13:
	.ascii	"%lld\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L71+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L71+8
	bl	__isoc99_scanf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	runSorts
	mov	r3, #0
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC14
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
