	.file	"86076610.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Array:"
.LC1:
	.string	"%d "
	.text
	.globl	Display
	.type	Display, @function
Display:
.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, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR 16[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR 60[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Display, .-Display
	.globl	Merge
	.type	Merge, @function
Merge:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jge	.L6
	mov	edx, DWORD PTR -20[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -12[rbp], ecx
	mov	rcx, QWORD PTR -40[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rcx+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L5
.L6:
	mov	edx, DWORD PTR -16[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -12[rbp], ecx
	mov	rcx, QWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rcx+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 44[rax]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L9
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 44[rax]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L8
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	rdx, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	mov	ecx, DWORD PTR [rdx+rcx*4]
	mov	rdx, QWORD PTR -8[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 44[rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L10
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	rdx, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	mov	ecx, DWORD PTR [rdx+rcx*4]
	mov	rdx, QWORD PTR -8[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -16[rbp], 1
.L11:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 44[rax]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L12
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 44[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 44[rax]
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 44[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], 10
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Merge, .-Merge
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -128[rbp], 1
	mov	DWORD PTR -124[rbp], 2
	mov	DWORD PTR -120[rbp], 3
	mov	DWORD PTR -116[rbp], 4
	mov	DWORD PTR -112[rbp], 5
	mov	DWORD PTR -88[rbp], 10
	mov	DWORD PTR -84[rbp], 5
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -76[rbp], 2
	mov	DWORD PTR -72[rbp], 3
	mov	DWORD PTR -68[rbp], 4
	mov	DWORD PTR -64[rbp], 5
	mov	DWORD PTR -40[rbp], 10
	mov	DWORD PTR -36[rbp], 5
	lea	rdx, -80[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Merge
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	sub	rsp, 48
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rcx
	mov	QWORD PTR 40[rdx], rbx
	call	Display
	add	rsp, 48
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"86076610.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Array:\000"
	.align	2
.LC1:
	.ascii	"%d \000"
	.text
	.align	2
	.global	Display
	.syntax unified
	.arm
	.fpu softvfp
	.type	Display, %function
Display:
	@ args = 48, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, .L4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #48]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.size	Display, .-Display
	.align	2
	.global	Merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	Merge, %function
Merge:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r0, #48
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L7
.L10:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-16]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L8
	ldr	r2, [fp, #-20]
	add	r3, r2, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-24]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r2, r3, lsl #2]
	b	.L7
.L8:
	ldr	r2, [fp, #-16]
	add	r3, r2, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-28]
	ldr	r1, [r1, r2, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r2, r3, lsl #2]
.L7:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L11
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L10
	b	.L11
.L12:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L12
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-16]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #44]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #44]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-8]
	mov	r2, #10
	str	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Merge, .-Merge
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #140
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #112
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-112]
	mov	r3, #2
	str	r3, [fp, #-108]
	mov	r3, #3
	str	r3, [fp, #-104]
	mov	r3, #4
	str	r3, [fp, #-100]
	mov	r3, #5
	str	r3, [fp, #-96]
	mov	r3, #10
	str	r3, [fp, #-72]
	mov	r3, #5
	str	r3, [fp, #-68]
	sub	r3, fp, #64
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #2
	str	r3, [fp, #-60]
	mov	r3, #3
	str	r3, [fp, #-56]
	mov	r3, #4
	str	r3, [fp, #-52]
	mov	r3, #5
	str	r3, [fp, #-48]
	mov	r3, #10
	str	r3, [fp, #-24]
	mov	r3, #5
	str	r3, [fp, #-20]
	sub	r2, fp, #64
	sub	r3, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	Merge
	str	r0, [fp, #-116]
	ldr	r4, [fp, #-116]
	mov	lr, sp
	add	ip, r4, #16
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	ldm	r4, {r0, r1, r2, r3}
	bl	Display
	ldr	r0, [fp, #-116]
	bl	free
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
