	.file	"1124753.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c%c%c%c%c%c%c%c"
	.text
	.globl	show
	.type	show, @function
show:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movsx	r8d, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movsx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movsx	r9d, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	r10d, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	rsp, 8
	push	r8
	push	rdi
	push	rsi
	mov	r8d, r10d
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	show, .-show
	.section	.rodata
.LC1:
	.string	"cat /proc/%u/maps"
.LC2:
	.string	"/tmp/foobar"
.LC3:
	.string	"the_stack_data/1124753.c"
.LC4:
	.string	"map1 != MAP_FAILED"
.LC5:
	.string	"map2 != MAP_FAILED"
	.align 8
.LC6:
	.string	"on \303\251crit \"1111\" au d\303\251but du mmap1"
.LC7:
	.string	"1111"
	.align 8
.LC8:
	.string	"on \303\251crit \"2222\" plus loin dans mmap2"
.LC9:
	.string	"2222"
	.align 8
.LC10:
	.string	"on \303\251crit \"2222\" plus loin dans la deuxi\303\250me page du mmap2"
	.align 8
.LC11:
	.string	"on \303\251crit \"1111\" dans la deuxi\303\250me page du mmap1"
.LC12:
	.string	"map1 contient: \""
.LC13:
	.string	"\" et \""
.LC14:
	.string	"\""
.LC15:
	.string	"map2 contient: \""
	.text
	.globl	main
	.type	main, @function
main:
.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, 1152
	mov	DWORD PTR -1140[rbp], edi
	mov	QWORD PTR -1152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	edx, eax
	lea	rax, -1104[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	esi, 66
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -1124[rbp], eax
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 48
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1128[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1124[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -1128[rbp], 1
.L3:
	cmp	DWORD PTR -1128[rbp], 7
	jbe	.L4
	lea	rax, -1104[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	eax, DWORD PTR -1124[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 3
	mov	esi, 8192
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -1120[rbp], rax
	cmp	QWORD PTR -1120[rbp], -1
	jne	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 36
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L5:
	mov	eax, DWORD PTR -1124[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 2
	mov	edx, 3
	mov	esi, 8192
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -1112[rbp], rax
	cmp	QWORD PTR -1112[rbp], -1
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC3[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L6:
	lea	rax, -1104[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC2[rip]
	call	unlink@PLT
	lea	rax, -1104[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1120[rbp]
	mov	edx, 4
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 4
	mov	edx, 4
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 4100
	mov	edx, 4
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 4096
	mov	edx, 4
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	show
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, 4096
	mov	rdi, rax
	call	show
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1112[rbp]
	mov	rdi, rax
	call	show
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 4096
	mov	rdi, rax
	call	show
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1120[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -1112[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, DWORD PTR -1124[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"1124753.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c%c%c%c%c%c%c%c\000"
	.text
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r4, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #16]
	str	ip, [sp, #12]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r5
	mov	r2, r4
	mov	r1, lr
	ldr	r0, .L2
	bl	printf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	show, .-show
	.section	.rodata
	.align	2
.LC1:
	.ascii	"cat /proc/%u/maps\000"
	.align	2
.LC2:
	.ascii	"/tmp/foobar\000"
	.align	2
.LC3:
	.ascii	"the_stack_data/1124753.c\000"
	.align	2
.LC4:
	.ascii	"map1 != MAP_FAILED\000"
	.align	2
.LC5:
	.ascii	"map2 != MAP_FAILED\000"
	.align	2
.LC6:
	.ascii	"on \303\251crit \"1111\" au d\303\251but du mmap1\000"
	.align	2
.LC7:
	.ascii	"1111\000"
	.align	2
.LC8:
	.ascii	"on \303\251crit \"2222\" plus loin dans mmap2\000"
	.align	2
.LC9:
	.ascii	"2222\000"
	.align	2
.LC10:
	.ascii	"on \303\251crit \"2222\" plus loin dans la deuxi\303"
	.ascii	"\250me page du mmap2\000"
	.align	2
.LC11:
	.ascii	"on \303\251crit \"1111\" dans la deuxi\303\250me pa"
	.ascii	"ge du mmap1\000"
	.align	2
.LC12:
	.ascii	"map1 contient: \"\000"
	.align	2
.LC13:
	.ascii	"\" et \"\000"
	.align	2
.LC14:
	.ascii	"\"\000"
	.align	2
.LC15:
	.ascii	"map2 contient: \"\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1120
	sub	sp, sp, #8
	str	r0, [fp, #-1120]
	str	r1, [fp, #-1124]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r2, r0
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L11+4
	mov	r0, r3
	bl	sprintf
	mov	r1, #66
	ldr	r0, .L11+8
	bl	open
	str	r0, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #48
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1112]
	b	.L5
.L6:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1108]
	bl	write
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L5:
	ldr	r3, [fp, #-1112]
	cmp	r3, #7
	bls	.L6
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1108]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r1, #8192
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-1104]
	ldr	r3, [fp, #-1104]
	cmn	r3, #1
	bne	.L7
	ldr	r3, .L11+12
	mov	r2, #36
	ldr	r1, .L11+16
	ldr	r0, .L11+20
	bl	__assert_fail
.L7:
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1108]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #3
	mov	r1, #8192
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-1100]
	ldr	r3, [fp, #-1100]
	cmn	r3, #1
	bne	.L8
	ldr	r3, .L11+12
	mov	r2, #38
	ldr	r1, .L11+16
	ldr	r0, .L11+24
	bl	__assert_fail
.L8:
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	ldr	r0, .L11+8
	bl	unlink
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	ldr	r0, .L11+28
	bl	puts
	mov	r2, #4
	ldr	r1, .L11+32
	ldr	r0, [fp, #-1104]
	bl	memcpy
	ldr	r0, .L11+36
	bl	puts
	ldr	r3, [fp, #-1100]
	add	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L11+40
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L11+44
	bl	puts
	ldr	r3, [fp, #-1100]
	add	r3, r3, #4096
	add	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L11+40
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L11+48
	bl	puts
	ldr	r3, [fp, #-1104]
	add	r3, r3, #4096
	mov	r2, #4
	ldr	r1, .L11+32
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L11+52
	bl	printf
	ldr	r0, [fp, #-1104]
	bl	show
	ldr	r0, .L11+56
	bl	printf
	ldr	r3, [fp, #-1104]
	add	r3, r3, #4096
	mov	r0, r3
	bl	show
	ldr	r0, .L11+60
	bl	puts
	ldr	r0, .L11+64
	bl	printf
	ldr	r0, [fp, #-1100]
	bl	show
	ldr	r0, .L11+56
	bl	printf
	ldr	r3, [fp, #-1100]
	add	r3, r3, #4096
	mov	r0, r3
	bl	show
	ldr	r0, .L11+60
	bl	puts
	mov	r1, #8192
	ldr	r0, [fp, #-1104]
	bl	munmap
	mov	r1, #8192
	ldr	r0, [fp, #-1100]
	bl	munmap
	ldr	r0, [fp, #-1108]
	bl	close
	mov	r3, #0
	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	.LC16
	.word	.LC1
	.word	.LC2
	.word	__PRETTY_FUNCTION__.6023
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6023, %object
	.size	__PRETTY_FUNCTION__.6023, 5
__PRETTY_FUNCTION__.6023:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
