	.file	"117326733.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/117326733.c"
.LC1:
	.string	"ret != NULL"
	.text
	.type	do_mmap, @function
do_mmap:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	QWORD PTR -56[rbp], r9
	mov	r8, QWORD PTR -56[rbp]
	mov	edi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 32
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	do_mmap, .-do_mmap
	.section	.rodata
.LC2:
	.string	"i == 0"
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -32[rbp], 10
	mov	DWORD PTR -40[rbp], 3
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	rsi, rax
	mov	edi, 0
	call	do_mmap
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	memset@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	rsi, rax
	mov	edi, 0
	call	do_mmap
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 34
	mov	rdi, rax
	call	memset@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	rsi, rax
	mov	edi, 0
	call	do_mmap
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 85
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	madvise@PLT
	mov	DWORD PTR -36[rbp], eax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 57
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	__assert_perror_fail@PLT
.L5:
	cmp	DWORD PTR -36[rbp], 0
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 58
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L6:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"r+"
.LC4:
	.string	"/proc/self/coredump_filter"
.LC5:
	.string	"%#x"
	.text
	.globl	set_coredump_filter
	.type	set_coredump_filter, @function
set_coredump_filter:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	mov	eax, 1
	jmp	.L10
.L9:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	set_coredump_filter, .-set_coredump_filter
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 8
__PRETTY_FUNCTION__.1:
	.string	"do_mmap"
	.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	"117326733.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/117326733.c\000"
	.align	2
.LC1:
	.ascii	"ret != NULL\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_mmap, %function
do_mmap:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	mmap
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4
	mov	r2, #32
	ldr	r1, .L4+4
	ldr	r0, .L4+8
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	__PRETTY_FUNCTION__.6347
	.word	.LC0
	.word	.LC1
	.size	do_mmap, .-do_mmap
	.section	.rodata
	.align	2
.LC2:
	.ascii	"i == 0\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #10
	str	r3, [fp, #-28]
	mov	r3, #3
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #34
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, #0
	bl	do_mmap
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-28]
	mov	r1, #17
	ldr	r0, [fp, #-20]
	bl	memset
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, #0
	bl	do_mmap
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-28]
	mov	r1, #34
	ldr	r0, [fp, #-16]
	bl	memset
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #34
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, #0
	bl	do_mmap
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-28]
	mov	r1, #85
	ldr	r0, [fp, #-12]
	bl	memset
	mov	r2, #16
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-12]
	bl	madvise
	str	r0, [fp, #-8]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r0, [r3]
	ldr	r3, .L10
	mov	r2, #57
	ldr	r1, .L10+4
	bl	__assert_perror_fail
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L10
	mov	r2, #58
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	__assert_fail
.L8:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	__PRETTY_FUNCTION__.6358
	.word	.LC0
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r+\000"
	.align	2
.LC4:
	.ascii	"/proc/self/coredump_filter\000"
	.align	2
.LC5:
	.ascii	"%#x\000"
	.text
	.align	2
	.global	set_coredump_filter
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_coredump_filter, %function
set_coredump_filter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L15
	ldr	r0, .L15+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	mov	r3, #1
	b	.L14
.L13:
	ldr	r2, [fp, #-16]
	ldr	r1, .L15+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	set_coredump_filter, .-set_coredump_filter
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6347, %object
	.size	__PRETTY_FUNCTION__.6347, 8
__PRETTY_FUNCTION__.6347:
	.ascii	"do_mmap\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6358, %object
	.size	__PRETTY_FUNCTION__.6358, 5
__PRETTY_FUNCTION__.6358:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
