	.file	"68717.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 524288
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -84[rbp], eax
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, 48
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 4096
	call	mmap@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 18
	mov	edx, 5
	mov	rsi, rax
	mov	edi, 4096
	call	mmap@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 4096
	mov	rdi, rdx
	mov	edx, DWORD PTR -84[rbp]
	mov	r9, rcx
	mov	r8d, edx
	mov	ecx, 18
	mov	edx, 3
	mov	rsi, rax
	call	mmap@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	add	rdx, 4096
	mov	rdi, rdx
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 50
	mov	edx, 3
	mov	rsi, rax
	call	mmap@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -112[rbp]
	lea	rcx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -100[rbp]
	lea	esi, -2[rdx]
	mov	rdx, QWORD PTR environ[rip]
#APP
# 28 "the_stack_data/68717.c" 1
	mov rcx,%esp ; push rdx ; push rcx ; push esi ; jmp *rax
# 0 "" 2
#NO_APP
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"68717.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #524288
	mov	r0, r3
	bl	open
	str	r0, [fp, #-44]
	sub	r3, fp, #32
	mov	r2, #24
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	read
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #34
	mov	r2, #0
	ldr	r1, [fp, #-40]
	mov	r0, #4096
	bl	mmap
	str	r0, [fp, #-36]
	ldr	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	mov	r3, #18
	mov	r2, #5
	mov	r0, #4096
	bl	mmap
	ldr	r3, [fp, #-28]
	add	r3, r3, #4096
	mov	r0, r3
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	mov	r3, #18
	mov	r2, #3
	bl	mmap
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4096
	mov	r0, r3
	ldr	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #50
	mov	r2, #3
	bl	mmap
	ldr	r0, [fp, #-44]
	bl	close
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-48]
	sub	r1, r1, #2
	ldr	r0, .L4+4
	ldr	r0, [r0]
	.syntax divided
@ 28 "the_stack_data/68717.c" 1
	mov r3,%esp ; push r0 ; push r3 ; push r1 ; jmp *r2
@ 0 "" 2
	.arm
	.syntax unified
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	environ
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
