	.file	"227070.c"
	.intel_syntax noprefix
	.text
	.type	merge_pagelist, @function
merge_pagelist:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -96[rbp]
	mov	QWORD PTR -104[rbp], rax
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jnb	.L3
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -120[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -128[rbp], rax
.L2:
	cmp	QWORD PTR -120[rbp], 0
	je	.L4
	cmp	QWORD PTR -128[rbp], 0
	jne	.L5
.L4:
	cmp	QWORD PTR -120[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L7
.L6:
	cmp	QWORD PTR -128[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR 56[rax], 0
.L7:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	merge_pagelist, .-merge_pagelist
	.globl	sort_pagelist
	.type	sort_pagelist, @function
sort_pagelist:
.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, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -208[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 25
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	jmp	.L12
.L17:
	mov	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	DWORD PTR -220[rbp], 0
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rax, QWORD PTR -208[rbp+rax*8]
	test	rax, rax
	jne	.L14
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -208[rbp+rax*8], rdx
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rax, QWORD PTR -208[rbp+rax*8]
	mov	rdx, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_pagelist
	mov	QWORD PTR -216[rbp], rax
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	QWORD PTR -208[rbp+rax*8], 0
	add	DWORD PTR -220[rbp], 1
.L13:
	cmp	DWORD PTR -220[rbp], 23
	jle	.L16
.L15:
	cmp	DWORD PTR -220[rbp], 24
	jne	.L12
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rax, QWORD PTR -208[rbp+rax*8]
	mov	rdx, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_pagelist
	mov	edx, DWORD PTR -220[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -208[rbp+rdx*8], rax
.L12:
	cmp	QWORD PTR -232[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -220[rbp], 1
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rdx, QWORD PTR -208[rbp+rax*8]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_pagelist
	mov	QWORD PTR -216[rbp], rax
	add	DWORD PTR -220[rbp], 1
.L18:
	cmp	DWORD PTR -220[rbp], 24
	jle	.L19
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sort_pagelist, .-sort_pagelist
	.globl	main
	.type	main, @function
main:
.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, 432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -416[rbp], 5
	lea	rax, -416[rbp]
	add	rax, 80
	mov	QWORD PTR -360[rbp], rax
	mov	DWORD PTR -336[rbp], 4
	lea	rax, -416[rbp]
	add	rax, 160
	mov	QWORD PTR -280[rbp], rax
	mov	DWORD PTR -256[rbp], 1
	lea	rax, -416[rbp]
	add	rax, 240
	mov	QWORD PTR -200[rbp], rax
	mov	DWORD PTR -176[rbp], 3
	mov	QWORD PTR -120[rbp], 0
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	sort_pagelist
	mov	QWORD PTR -424[rbp], rax
	mov	rax, QWORD PTR -424[rbp]
	mov	rax, QWORD PTR 56[rax]
	cmp	QWORD PTR -424[rbp], rax
	jne	.L23
	call	abort@PLT
.L23:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"227070.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_pagelist, %function
merge_pagelist:
	@ 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, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	str	r3, [fp, #-52]
	b	.L2
.L5:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L3
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-56]
	b	.L2
.L3:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-60]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-60]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #28]
	b	.L7
.L6:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-60]
	str	r2, [r3, #28]
	b	.L7
.L8:
	ldr	r3, [fp, #-52]
	mov	r2, #0
	str	r2, [r3, #28]
.L7:
	ldr	r3, [fp, #-20]
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	merge_pagelist, .-merge_pagelist
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sort_pagelist
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_pagelist, %function
sort_pagelist:
	@ 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]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #108
	mov	r0, r3
	mov	r3, #100
	mov	r2, r3
	mov	r1, #0
	bl	memset
	b	.L14
.L19:
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-116]
	mov	r2, #0
	str	r2, [r3, #28]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L15
.L18:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-104]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-116]
	str	r2, [r3, #-104]
	b	.L17
.L16:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-104]
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	merge_pagelist
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-104]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L15:
	ldr	r3, [fp, #-112]
	cmp	r3, #23
	ble	.L18
.L17:
	ldr	r3, [fp, #-112]
	cmp	r3, #24
	bne	.L14
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-104]
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	merge_pagelist
	mov	r2, r0
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-104]
.L14:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-116]
	mov	r3, #1
	str	r3, [fp, #-112]
	b	.L20
.L21:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-104]
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	merge_pagelist
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L20:
	ldr	r3, [fp, #-112]
	cmp	r3, #24
	ble	.L21
	ldr	r3, [fp, #-116]
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.size	sort_pagelist, .-sort_pagelist
	.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 = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-208]
	sub	r3, fp, #208
	add	r3, r3, #40
	str	r3, [fp, #-180]
	mov	r3, #4
	str	r3, [fp, #-168]
	sub	r3, fp, #208
	add	r3, r3, #80
	str	r3, [fp, #-140]
	mov	r3, #1
	str	r3, [fp, #-128]
	sub	r3, fp, #208
	add	r3, r3, #120
	str	r3, [fp, #-100]
	mov	r3, #3
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #208
	mov	r0, r3
	bl	sort_pagelist
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-212]
	cmp	r2, r3
	bne	.L27
	bl	abort
.L27:
	mov	r3, #0
	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	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
