	.file	"542305.c"
	.intel_syntax noprefix
	.text
	.globl	mer
	.type	mer, @function
mer:
.LFB0:
	.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
	sub	rsp, 96
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	DWORD PTR -112[rbp], edx
	mov	DWORD PTR -116[rbp], ecx
	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 -112[rbp]
	sub	eax, DWORD PTR -108[rbp]
	add	eax, 1
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, DWORD PTR -112[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	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	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*8]
	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
.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, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
	add	DWORD PTR -84[rbp], 1
.L8:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L9
	mov	DWORD PTR -84[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -112[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
	add	DWORD PTR -84[rbp], 1
.L10:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L11
	mov	DWORD PTR -88[rbp], 0
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L12
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	rcx, rax
	jg	.L13
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR [rcx], rax
	add	DWORD PTR -84[rbp], 1
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR [rcx], rax
	add	DWORD PTR -88[rbp], 1
.L14:
	add	DWORD PTR -92[rbp], 1
.L12:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jge	.L17
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L16
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	mov	edx, DWORD PTR -92[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -92[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -104[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	QWORD PTR [rcx], rax
.L17:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L18
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR -92[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -92[rbp], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -104[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -48[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	QWORD PTR [rcx], rax
.L19:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L20
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	lea	rsp, -32[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mer, .-mer
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.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 -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L24
	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
	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
	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	mer
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mergesort, .-mergesort
	.section	.rodata
.LC0:
	.string	"%lld "
	.text
	.globl	display
	.type	display, @function
display:
.LFB2:
	.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 -4[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L27
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	display, .-display
	.section	.rodata
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%s"
.LC3:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1699840[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 400
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -1700224[rbp]
	lea	rax, -1700232[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -100032[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -1700192[rbp]
	mov	edx, 800080
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -1700216[rbp], 0
	mov	QWORD PTR -1700208[rbp], 0
	mov	QWORD PTR -1700200[rbp], 0
	mov	QWORD PTR -1700216[rbp], 0
	jmp	.L29
.L30:
	lea	rdx, -100032[rbp]
	mov	rax, QWORD PTR -1700216[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	movsx	rdx, eax
	mov	rax, QWORD PTR -1700216[rbp]
	mov	QWORD PTR -1700192[rbp+rax*8], rdx
	add	QWORD PTR -1700216[rbp], 1
.L29:
	mov	rax, QWORD PTR -1700232[rbp]
	cmp	QWORD PTR -1700216[rbp], rax
	jl	.L30
	lea	rax, -900112[rbp]
	mov	edx, 800080
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -1700216[rbp], 0
	jmp	.L31
.L37:
	mov	QWORD PTR -1700200[rbp], 0
	mov	rax, QWORD PTR -1700216[rbp]
	mov	QWORD PTR -1700208[rbp], rax
	jmp	.L32
.L33:
	mov	rax, QWORD PTR -1700208[rbp]
	mov	rdx, QWORD PTR -1700192[rbp+rax*8]
	mov	rax, QWORD PTR -1700200[rbp]
	mov	QWORD PTR -900112[rbp+rax*8], rdx
	add	QWORD PTR -1700200[rbp], 1
	mov	rax, QWORD PTR -1700224[rbp]
	add	QWORD PTR -1700208[rbp], rax
.L32:
	mov	rax, QWORD PTR -1700232[rbp]
	cmp	QWORD PTR -1700208[rbp], rax
	jl	.L33
	mov	rax, QWORD PTR -1700200[rbp]
	sub	eax, 1
	mov	edx, eax
	lea	rax, -900112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	mergesort
	mov	rax, QWORD PTR -1700216[rbp]
	mov	QWORD PTR -1700208[rbp], rax
	jmp	.L34
.L36:
	mov	rax, QWORD PTR -1700200[rbp]
	sub	rax, 1
	mov	rdx, QWORD PTR -900112[rbp+rax*8]
	mov	rax, QWORD PTR -1700208[rbp]
	mov	QWORD PTR -1700192[rbp+rax*8], rdx
	sub	QWORD PTR -1700200[rbp], 1
	mov	rax, QWORD PTR -1700224[rbp]
	add	QWORD PTR -1700208[rbp], rax
.L34:
	mov	rax, QWORD PTR -1700232[rbp]
	cmp	QWORD PTR -1700208[rbp], rax
	jge	.L35
	cmp	QWORD PTR -1700200[rbp], 0
	jns	.L36
.L35:
	add	QWORD PTR -1700216[rbp], 1
.L31:
	mov	rax, QWORD PTR -1700224[rbp]
	cmp	QWORD PTR -1700216[rbp], rax
	jl	.L37
	mov	QWORD PTR -1700216[rbp], 0
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -1700216[rbp]
	mov	rax, QWORD PTR -1700192[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -1700216[rbp], 1
.L38:
	mov	rax, QWORD PTR -1700232[rbp]
	cmp	QWORD PTR -1700216[rbp], rax
	jl	.L39
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"542305.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mer
	.syntax unified
	.arm
	.fpu softvfp
	.type	mer, %function
mer:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, sp
	mov	lr, r3
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	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, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	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, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L3:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-36]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L4
.L5:
	ldr	r3, [fp, #-56]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-12]
	ldr	r1, [fp, #-36]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L4:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L6
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-12]
	ldr	r1, [fp, #-40]
	lsl	r1, r1, #3
	add	r1, r0, r1
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L7
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L8
.L7:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L8:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L6:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L11
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L10
	b	.L11
.L12:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldr	r2, [fp, #-44]
	add	r1, r2, #1
	str	r1, [fp, #-44]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-48]
	add	r1, r1, r2
	ldr	r2, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L11:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L12
	b	.L13
.L14:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldr	r2, [fp, #-44]
	add	r1, r2, #1
	str	r1, [fp, #-44]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-48]
	add	r1, r1, r2
	ldr	r2, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L13:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L14
	mov	sp, lr
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	mer, .-mer
	.align	2
	.global	mergesort
	.syntax unified
	.arm
	.fpu softvfp
	.type	mergesort, %function
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	.L20
	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
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	mergesort
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	mer
.L20:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mergesort, .-mergesort
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%lld \000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L24
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L23
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.size	display, .-display
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%lld %lld\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"%lld\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1700256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	add	sp, sp, #-16777216
	add	sp, sp, #15073280
	add	sp, sp, #3680
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r2, .L40+4
	sub	r3, fp, #28
	add	r2, r3, r2
	ldr	r3, .L40+8
	sub	r1, fp, #28
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L40+12
	bl	__isoc99_scanf
	sub	r3, fp, #99328
	sub	r3, r3, #28
	sub	r3, r3, #688
	mov	r1, r3
	ldr	r0, .L40+16
	bl	__isoc99_scanf
	sub	r3, fp, #1687552
	sub	r3, r3, #28
	sub	r3, r3, #12288
	sub	r0, r3, #336
	ldr	r3, .L40+20
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	b	.L27
.L28:
	sub	r3, fp, #98304
	sub	r3, r3, #28
	mov	r2, r3
	ldr	r3, .L40+24
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-8]
	add	r3, r2, r3
	sub	r3, r3, #1712
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #1687552
	sub	r3, r3, #28
	sub	r3, r3, #12288
	mov	r2, r3
	ldr	r3, .L40+24
	sub	ip, fp, #28
	add	r3, ip, r3
	ldr	r3, [r3, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #336
	stm	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	stmdb	r1, {r4-r5}
.L27:
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L28
	sub	r3, fp, #897024
	sub	r3, r3, #28
	sub	r0, r3, #3072
	ldr	r3, .L40+20
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	b	.L29
.L35:
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L30
.L31:
	sub	r3, fp, #1687552
	sub	r3, r3, #28
	sub	r3, r3, #12288
	mov	r2, r3
	ldr	r3, .L40+24
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #336
	ldmia	r3, {r0-r1}
	sub	r3, fp, #897024
	sub	r3, r3, #28
	mov	r2, r3
	ldr	r3, .L40+28
	sub	ip, fp, #28
	add	r3, ip, r3
	ldr	r3, [r3, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #3072
	stm	r3, {r0-r1}
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L40+32
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	ldr	r2, .L40+36
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L40+32
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	ip, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r8, r2, r0
	adc	r9, r3, r1
	stm	ip, {r8-r9}
.L30:
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L31
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-8]
	sub	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #897024
	sub	r3, r3, #28
	sub	r3, r3, #3072
	mov	r1, #0
	mov	r0, r3
	bl	mergesort
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L32
.L34:
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	subs	r1, r2, #1
	ldr	r0, .L40+40
	add	r0, fp, r0
	str	r1, [r0]
	sbc	r3, r3, #0
	ldr	r2, .L40+44
	add	r2, fp, r2
	str	r3, [r2]
	sub	r3, fp, #897024
	sub	r3, r3, #28
	mov	r2, r3
	ldr	r3, .L40+40
	add	r3, fp, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #3072
	ldmia	r3, {r0-r1}
	sub	r3, fp, #1687552
	sub	r3, r3, #28
	sub	r3, r3, #12288
	mov	r2, r3
	ldr	r3, .L40+24
	sub	ip, fp, #28
	add	r3, ip, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #336
	stm	r3, {r0-r1}
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	subs	r0, r2, #1
	ldr	ip, .L40+48
	add	ip, fp, ip
	str	r0, [ip]
	sbc	r3, r3, #0
	ldr	r2, .L40+52
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L40+48
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	ip, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	lr, r2, r0
	ldr	r4, .L40+56
	add	r4, fp, r4
	str	lr, [r4]
	adc	r3, r3, r1
	ldr	r2, .L40+60
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L40+56
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stm	ip, {r3-r4}
.L32:
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L33
	ldr	r3, .L40+28
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L34
.L33:
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L40+64
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	ldr	r2, .L40+68
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L40+64
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
.L29:
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L35
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	b	.L36
.L37:
	sub	r3, fp, #1687552
	sub	r3, r3, #28
	sub	r3, r3, #12288
	mov	r2, r3
	ldr	r3, .L40+24
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #336
	ldmia	r3, {r2-r3}
	ldr	r0, .L40+72
	bl	printf
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L40+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	stmdb	r1, {r6-r7}
.L36:
	ldr	r3, .L40+4
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	ldr	r1, .L40+24
	sub	r0, fp, #28
	add	r1, r0, r1
	ldmdb	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L37
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC5
	.word	-1700208
	.word	-1700216
	.word	.LC2
	.word	.LC3
	.word	800080
	.word	-1700192
	.word	-1700176
	.word	-1700260
	.word	-1700256
	.word	-1700252
	.word	-1700248
	.word	-1700268
	.word	-1700264
	.word	-1700276
	.word	-1700272
	.word	-1700284
	.word	-1700280
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
