	.file	"411646.c"
	.intel_syntax noprefix
	.text
	.globl	decisions
	.data
	.align 32
	.type	decisions, @object
	.size	decisions, 180
decisions:
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1
	.long	0
	.long	0
	.long	1
	.long	0
	.long	1
	.long	1
	.long	1
	.long	1
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	0
	.long	0
	.long	1
	.long	0
	.long	1
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	1
	.long	0
	.long	0
	.long	0
	.long	1
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	0
	.long	1
	.long	0
	.globl	place
	.bss
	.align 4
	.type	place, @object
	.size	place, 4
place:
	.zero	4
	.globl	correct
	.align 4
	.type	correct, @object
	.size	correct, 4
correct:
	.zero	4
	.text
	.globl	MergeSort
	.type	MergeSort, @function
MergeSort:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -92[rbp], 1
	jle	.L20
	mov	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	MergeSort
	mov	eax, DWORD PTR correct[rip]
	test	eax, eax
	je	.L21
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	MergeSort
	mov	eax, DWORD PTR correct[rip]
	test	eax, eax
	je	.L22
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L6
.L13:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jge	.L7
	mov	eax, DWORD PTR place[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, decisions[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	je	.L8
	mov	DWORD PTR correct[rip], 0
	jmp	.L1
.L8:
	mov	eax, DWORD PTR place[rip]
	add	eax, 1
	mov	DWORD PTR place[rip], eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -68[rbp], 1
	jmp	.L9
.L7:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jle	.L10
	mov	eax, DWORD PTR place[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, decisions[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L11
	mov	DWORD PTR correct[rip], 0
	jmp	.L1
.L11:
	mov	eax, DWORD PTR place[rip]
	add	eax, 1
	mov	DWORD PTR place[rip], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -64[rbp], 1
	jmp	.L9
.L10:
	mov	DWORD PTR correct[rip], 0
	jmp	.L1
.L9:
	add	DWORD PTR -60[rbp], 1
.L6:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jge	.L14
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L13
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -68[rbp], 1
	add	DWORD PTR -60[rbp], 1
.L14:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L15
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -64[rbp], 1
	add	DWORD PTR -60[rbp], 1
.L16:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L17
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L1
.L20:
	nop
	jmp	.L1
.L21:
	nop
	jmp	.L1
.L22:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	MergeSort, .-MergeSort
	.globl	Checker
	.type	Checker, @function
Checker:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	add	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -36[rbp], 1
.L24:
	cmp	DWORD PTR -36[rbp], 15
	jle	.L25
	mov	DWORD PTR correct[rip], 1
	mov	DWORD PTR place[rip], 0
	lea	rax, -32[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	MergeSort
	mov	eax, DWORD PTR correct[rip]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Checker, .-Checker
	.section	.rodata
.LC0:
	.string	"Result for right key: %d\n"
.LC1:
	.string	"\nSanity check 1"
	.align 8
.LC2:
	.string	"Replacing correct_key[%d] (%d) with %d\n"
.LC3:
	.string	"Checking "
.LC4:
	.string	"%d "
.LC5:
	.string	": Checker returns true :C"
.LC6:
	.string	": Checker returns false"
.LC7:
	.string	"\nSanity check 2"
.LC8:
	.string	": Checker returns false :C"
.LC9:
	.string	": Checker returns true"
	.text
	.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
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 570646669033481
	movabs	rdx, 2814805853342464
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 288230436365139974
	movabs	rdx, 281526516318976
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	Checker
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L29
.L43:
	mov	DWORD PTR -116[rbp], 1
	jmp	.L30
.L42:
	mov	eax, DWORD PTR -120[rbp]
	add	eax, eax
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	test	al, al
	jne	.L31
	mov	eax, DWORD PTR -120[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -112[rbp], eax
.L31:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	edx, al
	mov	ecx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	cmp	DWORD PTR -116[rbp], eax
	je	.L57
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -108[rbp], 0
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	cmp	DWORD PTR -116[rbp], eax
	jne	.L35
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	jmp	.L36
.L35:
	add	DWORD PTR -108[rbp], 1
.L34:
	cmp	DWORD PTR -108[rbp], 31
	jle	.L37
.L36:
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -104[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L38:
	cmp	DWORD PTR -104[rbp], 31
	jle	.L39
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	Checker
	test	eax, eax
	je	.L40
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L55
.L40:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L33
.L57:
	nop
.L33:
	add	DWORD PTR -116[rbp], 1
.L30:
	cmp	DWORD PTR -116[rbp], 15
	jle	.L42
	add	DWORD PTR -120[rbp], 1
.L29:
	cmp	DWORD PTR -120[rbp], 15
	jle	.L43
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -100[rbp], 0
	jmp	.L44
.L54:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -96[rbp], 0
	jmp	.L45
.L53:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	cmp	DWORD PTR -96[rbp], eax
	je	.L58
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	add	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	js	.L59
	cmp	DWORD PTR -84[rbp], 15
	jg	.L59
	mov	eax, DWORD PTR -96[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	mov	edx, DWORD PTR -84[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -92[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -92[rbp], 1
.L50:
	cmp	DWORD PTR -92[rbp], 31
	jle	.L51
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	Checker
	test	eax, eax
	jne	.L52
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L55
.L52:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L47
.L58:
	nop
	jmp	.L47
.L59:
	nop
.L47:
	add	DWORD PTR -96[rbp], 1
.L45:
	cmp	DWORD PTR -96[rbp], 15
	jle	.L53
	add	DWORD PTR -100[rbp], 2
.L44:
	cmp	DWORD PTR -100[rbp], 31
	jle	.L54
	mov	eax, 0
.L55:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	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	"411646.c"
	.text
	.global	decisions
	.data
	.align	2
	.type	decisions, %object
	.size	decisions, 180
decisions:
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	1
	.word	0
	.word	1
	.word	1
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	1
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	0
	.word	1
	.word	0
	.global	place
	.bss
	.align	2
	.type	place, %object
	.size	place, 4
place:
	.space	4
	.global	correct
	.align	2
	.type	correct, %object
	.size	correct, 4
correct:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	MergeSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	MergeSort, %function
MergeSort:
	@ 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, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	cmp	r3, #1
	ble	.L20
	ldr	r3, [fp, #-60]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-56]
	bl	MergeSort
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-28]
	bl	MergeSort
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L6
.L13:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L7
	ldr	r3, .L23+8
	ldr	r3, [r3]
	ldr	r2, .L23+12
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #1
	beq	.L8
	ldr	r3, .L23+4
	mov	r2, #0
	str	r2, [r3]
	b	.L1
.L8:
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L9
.L7:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L10
	ldr	r3, .L23+8
	ldr	r3, [r3]
	ldr	r2, .L23+12
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L23+4
	mov	r2, #0
	str	r2, [r3]
	b	.L1
.L11:
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L9
.L10:
	ldr	r3, .L23+4
	mov	r2, #0
	str	r2, [r3]
	b	.L1
.L9:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L6:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bge	.L14
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L13
	b	.L14
.L15:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L15
	b	.L16
.L17:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L16:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L17
	ldr	r2, [fp, #-60]
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	memcpy
	b	.L1
.L20:
	nop
	b	.L1
.L21:
	nop
	b	.L1
.L22:
	nop
.L1:
	ldr	r3, .L23
	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}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	correct
	.word	place
	.word	decisions
	.size	MergeSort, .-MergeSort
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Checker
	.syntax unified
	.arm
	.fpu softvfp
	.type	Checker, %function
Checker:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L26
.L27:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r1, r3, #255
	sub	r2, fp, #24
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L26:
	ldr	r3, [fp, #-28]
	cmp	r3, #15
	ble	.L27
	ldr	r3, .L30+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L30+8
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #24
	mov	r1, #16
	mov	r0, r3
	bl	MergeSort
	ldr	r3, .L30+4
	ldr	r3, [r3]
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC1
	.word	correct
	.word	place
	.size	Checker, .-Checker
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Result for right key: %d\012\000"
	.align	2
.LC4:
	.ascii	"\012Sanity check 1\000"
	.align	2
.LC5:
	.ascii	"Replacing correct_key[%d] (%d) with %d\012\000"
	.align	2
.LC6:
	.ascii	"Checking \000"
	.align	2
.LC7:
	.ascii	"%d \000"
	.align	2
.LC8:
	.ascii	": Checker returns true :C\000"
	.align	2
.LC9:
	.ascii	": Checker returns false\000"
	.align	2
.LC10:
	.ascii	"\012Sanity check 2\000"
	.align	2
.LC11:
	.ascii	": Checker returns false :C\000"
	.align	2
.LC12:
	.ascii	": Checker returns true\000"
	.align	2
.LC2:
	.ascii	"\011\000\000\010\000\007\002\000\000\013\000\017\015"
	.ascii	"\000\012\000\006\000\000\005\016\000\000\004\000\003"
	.ascii	"\000\000\014\000\001\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L64+4
	sub	ip, fp, #72
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #72
	mov	r0, r3
	bl	Checker
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L64+8
	bl	printf
	ldr	r0, .L64+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L33
.L47:
	mov	r3, #1
	str	r3, [fp, #-108]
	b	.L34
.L46:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	str	r3, [fp, #-104]
	sub	r2, fp, #72
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L35:
	sub	r2, fp, #72
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	ldr	r1, [fp, #-104]
	ldr	r0, .L64+16
	bl	printf
	sub	r2, fp, #72
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	beq	.L61
	sub	ip, fp, #40
	sub	lr, fp, #72
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L38
.L41:
	sub	r2, fp, #40
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	bne	.L39
	sub	r2, fp, #40
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #40
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L40
.L39:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L38:
	ldr	r3, [fp, #-100]
	cmp	r3, #31
	ble	.L41
.L40:
	ldr	r3, [fp, #-108]
	and	r1, r3, #255
	sub	r2, fp, #40
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r0, .L64+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L42
.L43:
	sub	r2, fp, #40
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L64+24
	bl	printf
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L42:
	ldr	r3, [fp, #-96]
	cmp	r3, #31
	ble	.L43
	sub	r3, fp, #40
	mov	r0, r3
	bl	Checker
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L64+28
	bl	puts
	mov	r3, #1
	b	.L59
.L44:
	ldr	r0, .L64+32
	bl	puts
	b	.L37
.L61:
	nop
.L37:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L34:
	ldr	r3, [fp, #-108]
	cmp	r3, #15
	ble	.L46
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L33:
	ldr	r3, [fp, #-112]
	cmp	r3, #15
	ble	.L47
	ldr	r0, .L64+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L48
.L58:
	sub	ip, fp, #40
	sub	lr, fp, #72
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L49
.L57:
	sub	r2, fp, #72
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-88]
	cmp	r3, r2
	beq	.L62
	sub	r2, fp, #72
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	sub	r1, fp, #4
	add	r3, r1, r3
	ldrb	r3, [r3, #-68]	@ zero_extendqisi2
	add	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L63
	ldr	r3, [fp, #-76]
	cmp	r3, #15
	bgt	.L63
	ldr	r3, [fp, #-88]
	and	r1, r3, #255
	sub	r2, fp, #40
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	ldr	r2, [fp, #-76]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-36]
	ldr	r0, .L64+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L54
.L55:
	sub	r2, fp, #40
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L64+24
	bl	printf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L54:
	ldr	r3, [fp, #-84]
	cmp	r3, #31
	ble	.L55
	sub	r3, fp, #40
	mov	r0, r3
	bl	Checker
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r0, .L64+40
	bl	puts
	mov	r3, #1
	b	.L59
.L56:
	ldr	r0, .L64+44
	bl	puts
	b	.L51
.L62:
	nop
	b	.L51
.L63:
	nop
.L51:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L49:
	ldr	r3, [fp, #-88]
	cmp	r3, #15
	ble	.L57
	ldr	r3, [fp, #-92]
	add	r3, r3, #2
	str	r3, [fp, #-92]
.L48:
	ldr	r3, [fp, #-92]
	cmp	r3, #31
	ble	.L58
	mov	r3, #0
.L59:
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC13
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
