	.file	"13898.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s "
	.text
	.globl	shellSort
	.type	shellSort, @function
shellSort:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -40[rbp], eax
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -32[rbp], eax
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jg	.L13
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -40[rbp]
	sub	DWORD PTR -32[rbp], eax
.L4:
	cmp	DWORD PTR -32[rbp], 0
	jns	.L7
	jmp	.L6
.L13:
	nop
.L6:
	add	DWORD PTR -36[rbp], 1
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L8
	mov	DWORD PTR -28[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L9:
	cmp	DWORD PTR -28[rbp], 9
	jle	.L10
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -40[rbp], eax
.L2:
	cmp	DWORD PTR -40[rbp], 0
	jg	.L11
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	shellSort, .-shellSort
	.globl	mergeSorti
	.type	mergeSorti, @function
mergeSorti:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -140[rbp], 1
	jmp	.L15
.L33:
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L16
.L26:
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -116[rbp], eax
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L17
	mov	eax, DWORD PTR -172[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
.L17:
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -148[rbp], eax
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -152[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jns	.L19
	mov	eax, DWORD PTR -152[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -152[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -144[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -144[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -148[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -148[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -144[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -144[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L18:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jg	.L22
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jle	.L21
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -152[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -152[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -144[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -144[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L22:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jle	.L23
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -148[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -148[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -144[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -144[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L24:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jle	.L25
	mov	eax, DWORD PTR -132[rbp]
	add	eax, 1
	mov	DWORD PTR -136[rbp], eax
.L16:
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	cmp	DWORD PTR -172[rbp], eax
	jg	.L26
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -152[rbp], eax
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -144[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -144[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -152[rbp], 1
.L27:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L28
	mov	DWORD PTR -152[rbp], 0
	jmp	.L29
.L30:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -152[rbp], 1
.L29:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L30
	mov	DWORD PTR -128[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -128[rbp], 1
.L31:
	cmp	DWORD PTR -128[rbp], 9
	jle	.L32
	mov	edi, 10
	call	putchar@PLT
	sal	DWORD PTR -140[rbp]
.L15:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L33
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mergeSorti, .-mergeSorti
	.globl	mergeSortr
	.type	mergeSortr, @function
mergeSortr:
.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, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -140[rbp], esi
	mov	DWORD PTR -144[rbp], edx
	mov	DWORD PTR -148[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	add	eax, 1
	mov	DWORD PTR -120[rbp], eax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L36
.L39:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jns	.L37
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -124[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -116[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -120[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -116[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L36:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jg	.L40
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jle	.L39
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -124[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -116[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L40:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jle	.L41
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -120[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -120[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -116[rbp], ecx
	lea	rsi, -112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L42:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jle	.L43
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -124[rbp], eax
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, DWORD PTR -140[rbp]
	lea	rcx, -112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -124[rbp], 1
.L44:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jle	.L45
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mergeSortr, .-mergeSortr
	.globl	mergeSort_r
	.type	mergeSort_r, @function
mergeSort_r:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L49
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	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	mergeSort_r
	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	mergeSort_r
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mergeSortr
.L49:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mergeSort_r, .-mergeSort_r
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L51
.L53:
	add	DWORD PTR -32[rbp], 1
.L51:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jns	.L54
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L53
	jmp	.L54
.L56:
	sub	DWORD PTR -28[rbp], 1
.L54:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L55
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jg	.L56
.L55:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jg	.L57
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	lea	rax, -18[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -32[rbp], 1
	sub	DWORD PTR -28[rbp], 1
.L57:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L51
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L59
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort
.L59:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jge	.L62
	mov	edx, DWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort
.L62:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	quicksort, .-quicksort
	.section	.rodata
.LC1:
	.string	"1. Shell Sort"
.LC2:
	.string	"2. Merge Sort Interactive"
.LC3:
	.string	"3. Merge Sort Recursive"
.LC4:
	.string	"4. Quick Sort"
.LC5:
	.string	"5. Exit."
.LC6:
	.string	"\nEnter your choice: \t"
.LC7:
	.string	"%d"
.LC8:
	.string	"\nUnsorted array: "
.LC9:
	.string	"\n\nSorted array is: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 6513249
	mov	WORD PTR -104[rbp], 0
	mov	QWORD PTR -102[rbp], 6388345
	mov	WORD PTR -94[rbp], 0
	mov	QWORD PTR -92[rbp], 7302765
	mov	WORD PTR -84[rbp], 0
	mov	QWORD PTR -82[rbp], 7894902
	mov	WORD PTR -74[rbp], 0
	mov	QWORD PTR -72[rbp], 6447482
	mov	WORD PTR -64[rbp], 0
	mov	QWORD PTR -62[rbp], 6710628
	mov	WORD PTR -54[rbp], 0
	mov	QWORD PTR -52[rbp], 7697523
	mov	WORD PTR -44[rbp], 0
	mov	QWORD PTR -42[rbp], 7105386
	mov	WORD PTR -34[rbp], 0
	mov	QWORD PTR -32[rbp], 6908007
	mov	WORD PTR -24[rbp], 0
	mov	QWORD PTR -22[rbp], 7500144
	mov	WORD PTR -14[rbp], 0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L64
.L65:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L64:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L65
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, 5
	ja	.L66
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L68[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L68[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L68:
	.long	.L66-.L68
	.long	.L72-.L68
	.long	.L71-.L68
	.long	.L70-.L68
	.long	.L69-.L68
	.long	.L67-.L68
	.text
.L72:
	lea	rax, -112[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	shellSort
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L73
.L74:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L73:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L74
	mov	eax, 0
	jmp	.L82
.L71:
	lea	rax, -112[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	mergeSorti
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L76
.L77:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L76:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L77
	mov	eax, 0
	jmp	.L82
.L70:
	lea	rax, -112[rbp]
	mov	edx, 9
	mov	esi, 0
	mov	rdi, rax
	call	mergeSort_r
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L78
.L79:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L78:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L79
	mov	eax, 0
	jmp	.L82
.L69:
	lea	rax, -112[rbp]
	mov	edx, 9
	mov	esi, 0
	mov	rdi, rax
	call	quicksort
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L80
.L81:
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L80:
	cmp	DWORD PTR -116[rbp], 9
	jle	.L81
	mov	eax, 0
	jmp	.L82
.L67:
	mov	edi, 1
	call	exit@PLT
.L66:
	mov	eax, 0
.L82:
	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
.LFE11:
	.size	main, .-main
	.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	"13898.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s \000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	shellSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	shellSort, %function
shellSort:
	@ 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, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L2
.L11:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	b	.L3
.L8:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L4
.L7:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r0, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bgt	.L13
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r2, r3, r2
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r0, r3, r2
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
.L4:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L7
	b	.L6
.L13:
	nop
.L6:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L9
.L10:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+4
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L9:
	ldr	r3, [fp, #-28]
	cmp	r3, #9
	ble	.L10
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-40]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bgt	.L11
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	.LC1
	.size	shellSort, .-shellSort
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mergeSorti
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergeSorti, %function
mergeSorti:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-136]
	b	.L17
.L35:
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L18
.L28:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-136]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-136]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-128]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-156]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
.L19:
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-144]
	b	.L20
.L23:
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r0, r3, r2
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bge	.L21
	ldr	r2, [fp, #-140]
	add	r3, r2, #1
	str	r3, [fp, #-140]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-148]
	add	r2, r3, #1
	str	r2, [fp, #-148]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	b	.L20
.L21:
	ldr	r2, [fp, #-140]
	add	r3, r2, #1
	str	r3, [fp, #-140]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-144]
	add	r2, r3, #1
	str	r2, [fp, #-144]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L20:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bgt	.L24
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	ble	.L23
	b	.L24
.L25:
	ldr	r2, [fp, #-140]
	add	r3, r2, #1
	str	r3, [fp, #-140]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-148]
	add	r2, r3, #1
	str	r2, [fp, #-148]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L24:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	ble	.L25
	b	.L26
.L27:
	ldr	r2, [fp, #-140]
	add	r3, r2, #1
	str	r3, [fp, #-140]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-144]
	add	r2, r3, #1
	str	r2, [fp, #-144]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L26:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	ble	.L27
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L18:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-136]
	add	r3, r2, r3
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bgt	.L28
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-148]
	b	.L29
.L30:
	ldr	r2, [fp, #-140]
	add	r3, r2, #1
	str	r3, [fp, #-140]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L29:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	blt	.L30
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L31
.L32:
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r0, r3, r2
	sub	r1, fp, #108
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L31:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	blt	.L32
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L33
.L34:
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-152]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L33:
	ldr	r3, [fp, #-124]
	cmp	r3, #9
	ble	.L34
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #1
	str	r3, [fp, #-136]
.L17:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	blt	.L35
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC3
	.word	.LC1
	.size	mergeSorti, .-mergeSorti
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mergeSortr
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergeSortr, %function
mergeSortr:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	str	r3, [fp, #-140]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L40
.L43:
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r0, r3, r2
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bge	.L41
	ldr	r2, [fp, #-112]
	add	r3, r2, #1
	str	r3, [fp, #-112]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	b	.L40
.L41:
	ldr	r2, [fp, #-112]
	add	r3, r2, #1
	str	r3, [fp, #-112]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-116]
	add	r2, r3, #1
	str	r2, [fp, #-116]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L40:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bgt	.L44
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	ble	.L43
	b	.L44
.L45:
	ldr	r2, [fp, #-112]
	add	r3, r2, #1
	str	r3, [fp, #-112]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L44:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	ble	.L45
	b	.L46
.L47:
	ldr	r2, [fp, #-112]
	add	r3, r2, #1
	str	r3, [fp, #-112]
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	ldr	r3, [fp, #-116]
	add	r2, r3, #1
	str	r2, [fp, #-116]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
.L46:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	ble	.L47
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-120]
	b	.L48
.L49:
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r0, r3, r2
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-132]
	sub	r2, r2, r3
	sub	r1, fp, #108
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L48:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	ble	.L49
	nop
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC4
	.size	mergeSortr, .-mergeSortr
	.align	2
	.global	mergeSort_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergeSort_r, %function
mergeSort_r:
	@ 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	.L55
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	mergeSort_r
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	mergeSort_r
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	mergeSortr
.L55:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mergeSort_r, .-mergeSort_r
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	quicksort
	.syntax unified
	.arm
	.fpu softvfp
	.type	quicksort, %function
quicksort:
	@ 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, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-28]
	b	.L57
.L59:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L57:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bge	.L60
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L59
	b	.L60
.L62:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L60:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L61
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bgt	.L62
.L61:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bgt	.L63
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r0, r3, r2
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L63:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L57
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L65
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	quicksort
.L65:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L68
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	quicksort
.L68:
	nop
	ldr	r3, .L69
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC5
	.size	quicksort, .-quicksort
	.section	.rodata
	.align	2
.LC6:
	.ascii	"1. Shell Sort\000"
	.align	2
.LC7:
	.ascii	"2. Merge Sort Interactive\000"
	.align	2
.LC8:
	.ascii	"3. Merge Sort Recursive\000"
	.align	2
.LC9:
	.ascii	"4. Quick Sort\000"
	.align	2
.LC10:
	.ascii	"5. Exit.\000"
	.align	2
.LC11:
	.ascii	"\012Enter your choice: \011\000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"\012Unsorted array: \000"
	.align	2
.LC14:
	.ascii	"\012\012Sorted array is: \000"
	.align	2
.LC0:
	.ascii	"abc\000"
	.space	6
	.ascii	"yza\000"
	.space	6
	.ascii	"mno\000"
	.space	6
	.ascii	"vwx\000"
	.space	6
	.ascii	"zab\000"
	.space	6
	.ascii	"def\000"
	.space	6
	.ascii	"stu\000"
	.space	6
	.ascii	"jkl\000"
	.space	6
	.ascii	"ghi\000"
	.space	6
	.ascii	"pqr\000"
	.space	6
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L92+4
	sub	r3, fp, #108
	mov	r1, r2
	mov	r2, #100
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L92+8
	bl	puts
	ldr	r0, .L92+12
	bl	puts
	ldr	r0, .L92+16
	bl	puts
	ldr	r0, .L92+20
	bl	puts
	ldr	r0, .L92+24
	bl	puts
	ldr	r0, .L92+28
	bl	printf
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L92+32
	bl	__isoc99_scanf
	ldr	r0, .L92+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L72
.L73:
	sub	r1, fp, #108
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L92+40
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L72:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L73
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L74
.L76:
	.word	.L80
	.word	.L79
	.word	.L78
	.word	.L77
	.word	.L75
.L80:
	sub	r3, fp, #108
	mov	r1, #10
	mov	r0, r3
	bl	shellSort
	ldr	r0, .L92+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L81
.L82:
	sub	r1, fp, #108
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L92+40
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L81:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L82
	mov	r3, #0
	b	.L90
.L79:
	sub	r3, fp, #108
	mov	r1, #10
	mov	r0, r3
	bl	mergeSorti
	ldr	r0, .L92+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L84
.L85:
	sub	r1, fp, #108
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L92+40
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L84:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L85
	mov	r3, #0
	b	.L90
.L78:
	sub	r3, fp, #108
	mov	r2, #9
	mov	r1, #0
	mov	r0, r3
	bl	mergeSort_r
	ldr	r0, .L92+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L86
.L87:
	sub	r1, fp, #108
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L92+40
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L86:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L87
	mov	r3, #0
	b	.L90
.L77:
	sub	r3, fp, #108
	mov	r2, #9
	mov	r1, #0
	mov	r0, r3
	bl	quicksort
	ldr	r0, .L92+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L88
.L89:
	sub	r1, fp, #108
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L92+40
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L88:
	ldr	r3, [fp, #-112]
	cmp	r3, #9
	ble	.L89
	mov	r3, #0
	b	.L90
.L75:
	mov	r0, #1
	bl	exit
.L74:
	mov	r3, #0
.L90:
	ldr	r2, .L92
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC15
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC1
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
