	.file	"455593.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"cat /proc/%d/maps"
	.text
	.type	dump_maps, @function
dump_maps:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	edx, eax
	lea	rax, -48[rbp]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dump_maps, .-dump_maps
	.section	.rodata
	.align 8
.LC1:
	.string	"Error: couldn't map the space we need for the test"
	.text
	.type	find_base_addr, @function
find_base_addr:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -16[rbp], 34
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], -1
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L5
.L4:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	find_base_addr, .-find_base_addr
	.section	.rodata
	.align 8
.LC2:
	.string	"mmap() @ 0x%lx-0x%lx p=%p result=%m\n"
.LC3:
	.string	"Error: munmap failed!?"
.LC4:
	.string	"unmap() successful"
	.align 8
.LC5:
	.string	"Error: first mmap() failed unexpectedly"
	.align 8
.LC6:
	.string	"Error:1: mmap() succeeded when it shouldn't have"
	.align 8
.LC7:
	.string	"Error:2: mmap() succeeded when it shouldn't have"
	.align 8
.LC8:
	.string	"Error:3: mmap() succeeded when it shouldn't have"
	.align 8
.LC9:
	.string	"Error:4: mmap() succeeded when it shouldn't have"
	.align 8
.LC10:
	.string	"Error:5: mmap() failed when it shouldn't have"
	.align 8
.LC11:
	.string	"Error:6: mmap() failed when it shouldn't have"
.LC12:
	.string	"OK"
	.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, 48
	mov	edi, 30
	call	sysconf@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	find_base_addr
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L8:
	mov	QWORD PTR -24[rbp], 1048610
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	jne	.L10
	call	dump_maps
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L10:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	je	.L11
	call	dump_maps
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L11:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	jne	.L12
	call	dump_maps
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L12:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	je	.L13
	call	dump_maps
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L13:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	je	.L14
	call	dump_maps
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L14:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rax
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	je	.L15
	call	dump_maps
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L15:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rax
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	je	.L16
	call	dump_maps
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L16:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	jne	.L17
	call	dump_maps
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L17:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], -1
	jne	.L18
	call	dump_maps
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	je	.L19
	call	dump_maps
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L19:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 0
.L9:
	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	"455593.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cat /proc/%d/maps\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_maps, %function
dump_maps:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r3, r0
	sub	r0, fp, #40
	ldr	r2, .L3+4
	mov	r1, #32
	bl	snprintf
	sub	r3, fp, #40
	mov	r0, r3
	bl	system
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC1
	.word	.LC0
	.size	dump_maps, .-dump_maps
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Error: couldn't map the space we need for the test\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_base_addr, %function
find_base_addr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	mov	r3, #34
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L9
	bl	puts
	mov	r3, #0
	b	.L7
.L6:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L9
	bl	puts
	mov	r3, #0
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.size	find_base_addr, .-find_base_addr
	.section	.rodata
	.align	2
.LC3:
	.ascii	"mmap() @ 0x%lx-0x%lx p=%p result=%m\012\000"
	.align	2
.LC4:
	.ascii	"Error: munmap failed!?\000"
	.align	2
.LC5:
	.ascii	"unmap() successful\000"
	.align	2
.LC6:
	.ascii	"Error: first mmap() failed unexpectedly\000"
	.align	2
.LC7:
	.ascii	"Error:1: mmap() succeeded when it shouldn't have\000"
	.align	2
.LC8:
	.ascii	"Error:2: mmap() succeeded when it shouldn't have\000"
	.align	2
.LC9:
	.ascii	"Error:3: mmap() succeeded when it shouldn't have\000"
	.align	2
.LC10:
	.ascii	"Error:4: mmap() succeeded when it shouldn't have\000"
	.align	2
.LC11:
	.ascii	"Error:5: mmap() failed when it shouldn't have\000"
	.align	2
.LC12:
	.ascii	"Error:6: mmap() failed when it shouldn't have\000"
	.align	2
.LC13:
	.ascii	"OK\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	find_base_addr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L24
	bl	puts
	mov	r3, #1
	b	.L13
.L12:
	ldr	r3, .L24+4
	str	r3, [fp, #-16]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L14
	bl	dump_maps
	ldr	r0, .L24
	bl	puts
	mov	r3, #1
	b	.L13
.L14:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	mov	r1, r3
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	bl	dump_maps
	ldr	r0, .L24+12
	bl	puts
	mov	r3, #1
	b	.L13
.L15:
	ldr	r0, .L24+16
	bl	puts
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L16
	bl	dump_maps
	ldr	r0, .L24+20
	bl	puts
	mov	r3, #1
	b	.L13
.L16:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L17
	bl	dump_maps
	ldr	r0, .L24+24
	bl	puts
	mov	r3, #1
	b	.L13
.L17:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L18
	bl	dump_maps
	ldr	r0, .L24+28
	bl	puts
	mov	r3, #1
	b	.L13
.L18:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L19
	bl	dump_maps
	ldr	r0, .L24+32
	bl	puts
	mov	r3, #1
	b	.L13
.L19:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L20
	bl	dump_maps
	ldr	r0, .L24+36
	bl	puts
	mov	r3, #1
	b	.L13
.L20:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L21
	bl	dump_maps
	ldr	r0, .L24+40
	bl	puts
	mov	r3, #1
	b	.L13
.L21:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mvn	r2, #0
	str	r2, [sp]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L22
	bl	dump_maps
	ldr	r0, .L24+44
	bl	puts
	mov	r3, #1
	b	.L13
.L22:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	bl	dump_maps
	ldr	r0, .L24+12
	bl	puts
	mov	r3, #1
	b	.L13
.L23:
	ldr	r0, .L24+16
	bl	puts
	ldr	r0, .L24+48
	bl	puts
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	1048610
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
