	.file	"175529.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"initial area"
.LC1:
	.string	"initial_area= %p\n"
.LC2:
	.string	"munmap initial_area"
.LC3:
	.string	"area"
	.align 8
.LC4:
	.string	"FAILED : was expecting to get back the initial_area"
.LC5:
	.string	"area= %p\n"
.LC6:
	.string	"mremap"
	.align 8
.LC7:
	.string	"FAILED : was expecting to get back the same area increased"
.LC8:
	.string	"increased area= %p\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 34
	mov	edx, 3
	mov	esi, 40960
	mov	edi, 268435456
	call	mmap@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 40960
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	je	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 34
	mov	edx, 3
	mov	esi, 4096
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], -1
	jne	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
.L4:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	je	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L5:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movabs	rdx, 8022916924116329800
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 6581362
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 0
	mov	edx, 40960
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	mremap@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], -1
	jne	.L6
	lea	rdi, .LC6[rip]
	call	perror@PLT
.L6:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	je	.L7
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"175529.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"initial area\000"
	.align	2
.LC1:
	.ascii	"initial_area= %p\012\000"
	.align	2
.LC2:
	.ascii	"munmap initial_area\000"
	.align	2
.LC3:
	.ascii	"area\000"
	.align	2
.LC4:
	.ascii	"FAILED : was expecting to get back the initial_area"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"area= %p\012\000"
	.align	2
.LC6:
	.ascii	"Hello World\000"
	.align	2
.LC7:
	.ascii	"mremap\000"
	.align	2
.LC8:
	.ascii	"FAILED : was expecting to get back the same area in"
	.ascii	"creased\000"
	.align	2
.LC9:
	.ascii	"increased area= %p\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #3
	mov	r1, #40960
	mov	r0, #268435456
	bl	mmap
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L9
	bl	perror
.L2:
	ldr	r1, [fp, #-16]
	ldr	r0, .L9+4
	bl	printf
	mov	r1, #40960
	ldr	r0, [fp, #-16]
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L9+8
	bl	perror
.L3:
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #3
	mov	r1, #4096
	ldr	r0, [fp, #-16]
	bl	mmap
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L9+12
	bl	perror
.L4:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L5
	ldr	r0, .L9+16
	bl	puts
.L5:
	ldr	r1, [fp, #-12]
	ldr	r0, .L9+20
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r2, .L9+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r3, #0
	mov	r2, #40960
	mov	r1, #4096
	ldr	r0, [fp, #-12]
	bl	mremap
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L9+28
	bl	perror
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L7
	ldr	r0, .L9+32
	bl	puts
.L7:
	ldr	r1, [fp, #-8]
	ldr	r0, .L9+36
	bl	printf
	ldr	r0, [fp, #-8]
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
