	.file	"979949.c"
	.intel_syntax noprefix
	.text
	.globl	cpu
	.data
	.align 8
	.type	cpu, @object
	.size	cpu, 8
cpu:
	.quad	5
	.globl	mem
	.align 8
	.type	mem, @object
	.size	mem, 8
mem:
	.quad	1572864000
	.globl	file
	.bss
	.align 8
	.type	file, @object
	.size	file, 8
file:
	.zero	8
	.globl	out
	.data
	.align 8
	.type	out, @object
	.size	out, 8
out:
	.quad	500000
	.globl	proc
	.align 8
	.type	proc, @object
	.size	proc, 8
proc:
	.quad	1
	.globl	exe_path
	.bss
	.align 32
	.type	exe_path, @object
	.size	exe_path, 1024
exe_path:
	.zero	1024
	.section	.rodata
.LC0:
	.string	"usage: ./a.out input_file\n"
.LC1:
	.string	"unrecognized file\n"
.LC2:
	.string	"input file is c or c++\n"
.LC3:
	.string	"input file is python\n"
.LC4:
	.string	"input file is java\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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L9
.L2:
	mov	eax, 0
	call	get_running_dir
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	get_extension
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
.L4:
	cmp	DWORD PTR -4[rbp], 1
	je	.L5
	cmp	DWORD PTR -4[rbp], 2
	jne	.L6
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	execute_cfile
.L6:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	execute_pyfile
.L7:
	cmp	DWORD PTR -4[rbp], 4
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L8:
	mov	edi, 0
	call	exit@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"input.txt"
.LC6:
	.string	"output.txt"
	.text
	.globl	setup_io
	.type	setup_io, @function
setup_io:
.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	esi, 0
	lea	rdi, exe_path[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	edi, 0
	call	close@PLT
	mov	edi, 1
	call	close@PLT
	lea	rax, .LC5[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	rsi, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, 6
	mov	edx, 65
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR -20[rbp], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	setup_io, .-setup_io
	.section	.rodata
.LC7:
	.string	"filename is %s\n"
.LC8:
	.string	"file name too long\n"
	.text
	.globl	get_extension
	.type	get_extension, @function
get_extension:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -120[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	BYTE PTR -101[rbp], 46
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 49
	jbe	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -100[rbp], 1
.L13:
	mov	eax, DWORD PTR -100[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L14
	movsx	edx, BYTE PTR -101[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L15
	mov	eax, -1
	jmp	.L21
.L15:
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, rdx
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -96[rbp]
	cmp	eax, 2
	jne	.L17
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 99
	jne	.L17
	mov	eax, 1
	jmp	.L21
.L17:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -96[rbp]
	cmp	eax, 4
	jne	.L18
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 99
	jne	.L18
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 112
	jne	.L18
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 112
	jne	.L18
	mov	eax, 2
	jmp	.L21
.L18:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -96[rbp]
	cmp	eax, 3
	jne	.L19
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 112
	jne	.L19
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 121
	jne	.L19
	mov	eax, 3
	jmp	.L21
.L19:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -96[rbp]
	cmp	eax, 5
	jne	.L20
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 106
	jne	.L20
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	jne	.L20
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	jne	.L20
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	jne	.L20
	mov	eax, 4
	jmp	.L21
.L20:
	mov	eax, -2
.L21:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_extension, .-get_extension
	.section	.rodata
.LC9:
	.string	"RLIMIT_AS"
.LC10:
	.string	"RLIMIT_CPU"
.LC11:
	.string	"RLIMIT_FSIZE"
.LC12:
	.string	"RLIMIT_NOFILE"
.LC13:
	.string	"RLIMIT_NPROC"
	.text
	.globl	status_sandbox
	.type	status_sandbox, @function
status_sandbox:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 9
	lea	rdi, .LC9[rip]
	call	pr_limits
	mov	esi, 0
	lea	rdi, .LC10[rip]
	call	pr_limits
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	pr_limits
	mov	esi, 7
	lea	rdi, .LC12[rip]
	call	pr_limits
	mov	esi, 6
	lea	rdi, .LC13[rip]
	call	pr_limits
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	status_sandbox, .-status_sandbox
	.section	.rodata
.LC14:
	.string	"setting sandbox\n"
	.align 8
.LC15:
	.string	"network isolation using unshare failed\n"
	.text
	.globl	setup_sandbox
	.type	setup_sandbox, @function
setup_sandbox:
.LFB10:
	.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	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR cpu[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC10[rip]
	call	set_limits
	mov	rax, QWORD PTR mem[rip]
	mov	rdx, rax
	mov	esi, 9
	lea	rdi, .LC9[rip]
	call	set_limits
	mov	rax, QWORD PTR out[rip]
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	set_limits
	mov	edi, 1073741824
	call	unshare@PLT
	cmp	eax, -1
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
.L25:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L27
	mov	rax, QWORD PTR file[rip]
	mov	rdx, rax
	mov	esi, 7
	lea	rdi, .LC12[rip]
	call	set_limits
	mov	rax, QWORD PTR proc[rip]
	mov	rdx, rax
	mov	esi, 6
	lea	rdi, .LC13[rip]
	call	set_limits
.L27:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	setup_sandbox, .-setup_sandbox
	.section	.rodata
.LC16:
	.string	"file1"
.LC17:
	.string	"file2"
.LC18:
	.string	"process can't open files\n"
.LC19:
	.string	"process can open files\n"
.LC20:
	.string	"process can't fork\n"
.LC21:
	.string	"process can fork \n"
.LC22:
	.string	"process can't open socket\n"
.LC23:
	.string	"process can open socket\n"
.LC24:
	.string	"\n\n"
	.text
	.globl	test_sandbox
	.type	test_sandbox, @function
test_sandbox:
.LFB11:
	.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 -32[rbp], 420
	lea	rax, .LC16[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	jmp	.L30
.L29:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	close@PLT
.L30:
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], -1
	jne	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
.L31:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L32
	mov	edi, 0
	call	_exit@PLT
.L32:
	cmp	DWORD PTR -24[rbp], 0
	jle	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
.L33:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	jmp	.L35
.L34:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	close@PLT
.L35:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	test_sandbox, .-test_sandbox
	.section	.rodata
.LC25:
	.string	"getrlimit error for %s"
.LC26:
	.string	"%-14s  "
.LC27:
	.string	"(infinite)  "
.LC28:
	.string	"%10lld  "
.LC29:
	.string	"(infinite)"
.LC30:
	.string	"%10lld"
	.text
	.type	pr_limits, @function
pr_limits:
.LFB12:
	.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 -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	getrlimit@PLT
	test	eax, eax
	jns	.L37
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L37:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, -1
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L39:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, -1
	jne	.L40
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L41:
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	pr_limits, .-pr_limits
	.type	set_limits, @function
set_limits:
.LFB13:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	setrlimit@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	set_limits, .-set_limits
	.section	.rodata
.LC31:
	.string	"rm output.txt >/dev/null 2>&1"
	.align 8
.LC32:
	.string	"g++ input.cpp -o input -static >output.txt 2>&1 "
.LC33:
	.string	"fork failed\n"
.LC34:
	.string	"./input"
	.text
	.globl	execute_cfile
	.type	execute_cfile, @function
execute_cfile:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1200
	mov	DWORD PTR -1188[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC31[rip]
	call	system@PLT
	mov	QWORD PTR -1040[rbp], 2122851
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rax, -1040[rbp]
	lea	rsi, exe_path[rip]
	mov	rdi, rax
	call	strcat@PLT
	cmp	DWORD PTR -1188[rbp], 1
	jne	.L46
	movabs	rax, 7955925827968247334
	movabs	rdx, 8011094922515215728
	mov	QWORD PTR -1152[rbp], rax
	mov	QWORD PTR -1144[rbp], rdx
	movabs	rax, 3251726978707777824
	movabs	rdx, 4476687334181532787
	mov	QWORD PTR -1136[rbp], rax
	mov	QWORD PTR -1128[rbp], rdx
	movabs	rax, 8371756805075006831
	movabs	rdx, 13834322429637752
	mov	QWORD PTR -1120[rbp], rax
	mov	QWORD PTR -1112[rbp], rdx
	mov	QWORD PTR -1104[rbp], 0
	mov	QWORD PTR -1096[rbp], 0
	mov	QWORD PTR -1088[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	WORD PTR -1056[rbp], 0
	mov	BYTE PTR -1054[rbp], 0
	lea	rdx, -1152[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	system@PLT
.L46:
	cmp	DWORD PTR -1188[rbp], 2
	jne	.L47
	movabs	rax, 7955925586510554662
	movabs	rdx, 2337491777888744816
	mov	QWORD PTR -1152[rbp], rax
	mov	QWORD PTR -1144[rbp], rdx
	movabs	rax, 8391737100187234093
	movabs	rdx, 7163384644223839520
	mov	QWORD PTR -1136[rbp], rax
	mov	QWORD PTR -1128[rbp], rdx
	movabs	rax, 8391737126163529248
	movabs	rdx, 2755695136971715630
	mov	QWORD PTR -1120[rbp], rax
	mov	QWORD PTR -1112[rbp], rdx
	mov	QWORD PTR -1104[rbp], 49
	mov	QWORD PTR -1096[rbp], 0
	mov	QWORD PTR -1088[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	WORD PTR -1056[rbp], 0
	mov	BYTE PTR -1054[rbp], 0
	lea	rdx, -1152[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC32[rip]
	call	system@PLT
.L47:
	mov	eax, 0
	call	create_user
	mov	DWORD PTR -1172[rbp], eax
	call	fork@PLT
	mov	DWORD PTR -1168[rbp], eax
	cmp	DWORD PTR -1168[rbp], -1
	jne	.L48
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
.L48:
	cmp	DWORD PTR -1168[rbp], 0
	jle	.L49
	lea	rcx, -1176[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -1172[rbp]
	mov	edi, eax
	call	delete_user
.L49:
	cmp	DWORD PTR -1168[rbp], 0
	jne	.L50
	mov	eax, 0
	call	setup_io
	mov	edi, 1
	call	setup_sandbox
	mov	eax, DWORD PTR -1172[rbp]
	mov	edi, eax
	call	setgid@PLT
	mov	eax, DWORD PTR -1172[rbp]
	mov	edi, eax
	call	setuid@PLT
	mov	QWORD PTR -1160[rbp], 0
	lea	rax, -1160[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	call	execvp@PLT
	mov	DWORD PTR -1164[rbp], eax
	mov	eax, DWORD PTR -1164[rbp]
	mov	edi, eax
	call	exit@PLT
.L50:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	execute_cfile, .-execute_cfile
	.section	.rodata
	.align 8
.LC35:
	.string	"rm output.txt input >/dev/null 2>&1"
.LC36:
	.string	"python2"
.LC37:
	.string	"input.py"
	.text
	.globl	execute_pyfile
	.type	execute_pyfile, @function
execute_pyfile:
.LFB15:
	.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
	lea	rdi, .LC35[rip]
	call	system@PLT
	mov	eax, 0
	call	create_user
	mov	DWORD PTR -44[rbp], eax
	call	fork@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], -1
	jne	.L53
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
.L53:
	cmp	DWORD PTR -40[rbp], 0
	jle	.L54
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	delete_user
.L54:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L55
	mov	eax, 0
	call	setup_io
	mov	edi, 0
	call	setup_sandbox
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	setgid@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	setuid@PLT
	lea	rax, .LC36[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC37[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC36[rip]
	call	execvp@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	exit@PLT
.L55:
	nop
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	execute_pyfile, .-execute_pyfile
	.section	.rodata
.LC38:
	.string	"useradd -M -u %d u%d -p 123 "
	.text
	.globl	create_user
	.type	create_user, @function
create_user:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 50000
	mov	edi, 1001
	call	rand_interval
	mov	DWORD PTR -76[rbp], eax
	jmp	.L58
.L59:
	mov	esi, 50000
	mov	edi, 1001
	call	rand_interval
	mov	DWORD PTR -76[rbp], eax
.L58:
	mov	eax, DWORD PTR -76[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L59
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -76[rbp]
	lea	rax, -64[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	create_user, .-create_user
	.section	.rodata
.LC39:
	.string	"userdel u%d"
	.text
	.globl	delete_user
	.type	delete_user, @function
delete_user:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR -68[rbp]
	lea	rax, -64[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	delete_user, .-delete_user
	.globl	rand_interval
	.type	rand_interval, @function
rand_interval:
.LFB18:
	.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
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 2147483647
	cdq
	idiv	DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
.L65:
	call	rand@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L65
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	rand_interval, .-rand_interval
	.section	.rodata
.LC40:
	.string	"/proc/%d/exe"
.LC41:
	.string	"sandbox is located in %s\n"
	.text
	.globl	get_running_dir
	.type	get_running_dir, @function
get_running_dir:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1056
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	edx, eax
	lea	rax, -1040[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	lea	rsi, exe_path[rip]
	mov	rdi, rax
	call	readlink@PLT
	mov	esi, 47
	lea	rdi, exe_path[rip]
	call	strrchr@PLT
	mov	QWORD PTR -1048[rbp], rax
	mov	rax, QWORD PTR -1048[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, exe_path[rip]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, exe_path[rip]
	call	chdir@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	get_running_dir, .-get_running_dir
	.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	"979949.c"
	.text
	.global	cpu
	.data
	.align	3
	.type	cpu, %object
	.size	cpu, 8
cpu:
	.word	5
	.word	0
	.global	mem
	.align	3
	.type	mem, %object
	.size	mem, 8
mem:
	.word	1572864000
	.word	0
	.global	file
	.bss
	.align	3
	.type	file, %object
	.size	file, 8
file:
	.space	8
	.global	out
	.data
	.align	3
	.type	out, %object
	.size	out, 8
out:
	.word	500000
	.word	0
	.global	proc
	.align	3
	.type	proc, %object
	.size	proc, 8
proc:
	.word	1
	.word	0
	.comm	exe_path,1024,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: ./a.out input_file\012\000"
	.align	2
.LC1:
	.ascii	"unrecognized file\012\000"
	.align	2
.LC2:
	.ascii	"input file is c or c++\012\000"
	.align	2
.LC3:
	.ascii	"input file is python\012\000"
	.align	2
.LC4:
	.ascii	"input file is java\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, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L10+4
	bl	fwrite
	mov	r3, #0
	b	.L9
.L2:
	bl	get_running_dir
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	get_extension
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L4
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L10+8
	bl	fwrite
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L6
.L5:
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L10+12
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	execute_cfile
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L7
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L10+16
	bl	fwrite
	bl	execute_pyfile
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L8
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L10+20
	bl	fwrite
.L8:
	mov	r0, #0
	bl	exit
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"input.txt\000"
	.align	2
.LC6:
	.ascii	"output.txt\000"
	.text
	.align	2
	.global	setup_io
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_io, %function
setup_io:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r1, #0
	ldr	r0, .L13
	bl	open
	str	r0, [fp, #-24]
	mov	r0, #0
	bl	close
	mov	r0, #1
	bl	close
	ldr	r3, .L13+4
	str	r3, [fp, #-20]
	ldr	r3, .L13+8
	str	r3, [fp, #-16]
	mov	r2, #0
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	openat
	str	r0, [fp, #-12]
	mov	r3, #6
	mov	r2, #65
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	openat
	str	r0, [fp, #-8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	exe_path
	.word	.LC5
	.word	.LC6
	.size	setup_io, .-setup_io
	.section	.rodata
	.align	2
.LC7:
	.ascii	"filename is %s\012\000"
	.align	2
.LC8:
	.ascii	"file name too long\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_extension
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_extension, %function
get_extension:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L27+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	ldr	r1, .L27+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #46
	strb	r3, [fp, #-77]
	ldr	r0, [fp, #-88]
	bl	strlen
	mov	r3, r0
	cmp	r3, #49
	bls	.L16
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L27+12
	bl	fwrite
	mov	r0, #0
	bl	exit
.L16:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L17
.L18:
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #60
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L17:
	ldr	r0, [fp, #-88]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bhi	.L18
	ldrb	r2, [fp, #-77]	@ zero_extendqisi2
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L19
	mvn	r3, #0
	b	.L25
.L19:
	sub	r3, fp, #60
	ldr	r2, [fp, #-72]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r0, [fp, #-88]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	cmp	r3, #2
	bne	.L21
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L21
	mov	r3, #1
	b	.L25
.L21:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	cmp	r3, #4
	bne	.L22
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L22
	ldr	r3, [fp, #-68]
	add	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L22
	ldr	r3, [fp, #-68]
	add	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L22
	mov	r3, #2
	b	.L25
.L22:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	cmp	r3, #3
	bne	.L23
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L23
	ldr	r3, [fp, #-68]
	add	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L23
	mov	r3, #3
	b	.L25
.L23:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	cmp	r3, #5
	bne	.L24
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #106
	bne	.L24
	ldr	r3, [fp, #-68]
	add	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L24
	ldr	r3, [fp, #-68]
	add	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L24
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L24
	mov	r3, #4
	b	.L25
.L24:
	mvn	r3, #1
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC9
	.word	stderr
	.word	.LC7
	.word	.LC8
	.size	get_extension, .-get_extension
	.section	.rodata
	.align	2
.LC10:
	.ascii	"RLIMIT_AS\000"
	.align	2
.LC11:
	.ascii	"RLIMIT_CPU\000"
	.align	2
.LC12:
	.ascii	"RLIMIT_FSIZE\000"
	.align	2
.LC13:
	.ascii	"RLIMIT_NOFILE\000"
	.align	2
.LC14:
	.ascii	"RLIMIT_NPROC\000"
	.text
	.align	2
	.global	status_sandbox
	.syntax unified
	.arm
	.fpu softvfp
	.type	status_sandbox, %function
status_sandbox:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #9
	ldr	r0, .L30
	bl	pr_limits
	mov	r1, #0
	ldr	r0, .L30+4
	bl	pr_limits
	mov	r1, #1
	ldr	r0, .L30+8
	bl	pr_limits
	mov	r1, #7
	ldr	r0, .L30+12
	bl	pr_limits
	mov	r1, #6
	ldr	r0, .L30+16
	bl	pr_limits
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	status_sandbox, .-status_sandbox
	.section	.rodata
	.align	2
.LC15:
	.ascii	"setting sandbox\012\000"
	.align	2
.LC16:
	.ascii	"network isolation using unshare failed\012\000"
	.text
	.align	2
	.global	setup_sandbox
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_sandbox, %function
setup_sandbox:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L36+4
	bl	fwrite
	ldr	r3, .L36+8
	ldmia	r3, {r2-r3}
	mov	r1, #0
	ldr	r0, .L36+12
	bl	set_limits
	ldr	r3, .L36+16
	ldmia	r3, {r2-r3}
	mov	r1, #9
	ldr	r0, .L36+20
	bl	set_limits
	ldr	r3, .L36+24
	ldmia	r3, {r2-r3}
	mov	r1, #1
	ldr	r0, .L36+28
	bl	set_limits
	mov	r0, #1073741824
	bl	unshare
	mov	r3, r0
	cmn	r3, #1
	bne	.L33
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L36+32
	bl	fwrite
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L35
	ldr	r3, .L36+36
	ldmia	r3, {r2-r3}
	mov	r1, #7
	ldr	r0, .L36+40
	bl	set_limits
	ldr	r3, .L36+44
	ldmia	r3, {r2-r3}
	mov	r1, #6
	ldr	r0, .L36+48
	bl	set_limits
.L35:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	stderr
	.word	.LC15
	.word	cpu
	.word	.LC11
	.word	mem
	.word	.LC10
	.word	out
	.word	.LC12
	.word	.LC16
	.word	file
	.word	.LC13
	.word	proc
	.word	.LC14
	.size	setup_sandbox, .-setup_sandbox
	.section	.rodata
	.align	2
.LC17:
	.ascii	"file1\000"
	.align	2
.LC18:
	.ascii	"file2\000"
	.align	2
.LC19:
	.ascii	"process can't open files\012\000"
	.align	2
.LC20:
	.ascii	"process can open files\012\000"
	.align	2
.LC21:
	.ascii	"process can't fork\012\000"
	.align	2
.LC22:
	.ascii	"process can fork \012\000"
	.align	2
.LC23:
	.ascii	"process can't open socket\012\000"
	.align	2
.LC24:
	.ascii	"process can open socket\012\000"
	.align	2
.LC25:
	.ascii	"\012\012\000"
	.text
	.align	2
	.global	test_sandbox
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_sandbox, %function
test_sandbox:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #420
	str	r3, [fp, #-28]
	ldr	r3, .L46
	str	r3, [fp, #-24]
	ldr	r3, .L46+4
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	ldr	r1, .L46+8
	ldr	r0, [fp, #-20]
	bl	open
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L39
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L46+16
	bl	fwrite
	b	.L40
.L39:
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L46+20
	bl	fwrite
	ldr	r0, [fp, #-16]
	bl	close
.L40:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L41
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L46+24
	bl	fwrite
.L41:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L42
	mov	r0, #0
	bl	_exit
.L42:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L43
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L46+28
	bl	fwrite
.L43:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L44
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L46+32
	bl	fwrite
	b	.L45
.L44:
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L46+36
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	close
.L45:
	ldr	r3, .L46+12
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L46+40
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC17
	.word	.LC18
	.word	577
	.word	stderr
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	test_sandbox, .-test_sandbox
	.section	.rodata
	.align	2
.LC26:
	.ascii	"getrlimit error for %s\000"
	.align	2
.LC27:
	.ascii	"%-14s  \000"
	.align	2
.LC28:
	.ascii	"(infinite)  \000"
	.align	2
.LC29:
	.ascii	"%10lld  \000"
	.align	2
.LC30:
	.ascii	"(infinite)\000"
	.align	2
.LC31:
	.ascii	"%10lld\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pr_limits, %function
pr_limits:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-36]
	sub	r2, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	getrlimit
	mov	r3, r0
	cmp	r3, #0
	bge	.L49
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L55+8
	mov	r0, r3
	bl	fprintf
.L49:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L55+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L50
	ldr	r3, .L55+4
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L55+16
	bl	fwrite
	b	.L51
.L50:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L55+4
	ldr	r0, [r3]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, .L55+20
	bl	fprintf
.L51:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L52
	ldr	r3, .L55+4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L55+24
	bl	fwrite
	b	.L53
.L52:
	ldr	r3, [fp, #-12]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L55+4
	ldr	r0, [r3]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, .L55+28
	bl	fprintf
.L53:
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC32
	.word	stderr
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	pr_limits, .-pr_limits
	.section	.rodata
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_limits, %function
set_limits:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r2, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	setrlimit
	nop
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC33
	.size	set_limits, .-set_limits
	.section	.rodata
	.align	2
.LC34:
	.ascii	"rm output.txt >/dev/null 2>&1\000"
	.align	2
.LC37:
	.ascii	"g++ input.cpp -o input -static >output.txt 2>&1 \000"
	.align	2
.LC38:
	.ascii	"fork failed\012\000"
	.align	2
.LC39:
	.ascii	"./input\000"
	.align	2
.LC35:
	.ascii	"&&gcc input.c -o input -static >output.txt 2>&1\000"
	.space	51
	.align	2
.LC36:
	.ascii	"&&g++ input.cpp -o input -static >output.txt 2>&1\000"
	.space	49
	.align	2
.LC40:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	execute_cfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_cfile, %function
execute_cfile:
	@ args = 0, pretend = 0, frame = 1160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1152
	sub	sp, sp, #8
	str	r0, [fp, #-1160]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L68+4
	bl	system
	ldr	r3, .L68+8
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L68+12
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-1160]
	cmp	r3, #1
	bne	.L62
	ldr	r3, .L68+16
	sub	ip, fp, #1120
	sub	ip, ip, #4
	sub	ip, ip, #8
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #51
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #1120
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
.L62:
	ldr	r3, [fp, #-1160]
	cmp	r3, #2
	bne	.L63
	ldr	r3, .L68+20
	sub	ip, fp, #1120
	sub	ip, ip, #4
	sub	ip, ip, #8
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #6
	mov	r2, #49
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #1120
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	ldr	r0, .L68+24
	bl	system
.L63:
	bl	create_user
	str	r0, [fp, #-1148]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1144]
	cmn	r3, #1
	bne	.L64
	ldr	r3, .L68+28
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L68+32
	bl	fwrite
.L64:
	ldr	r3, [fp, #-1144]
	cmp	r3, #0
	ble	.L65
	sub	r3, fp, #1136
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-1144]
	bl	waitpid
	ldr	r0, [fp, #-1148]
	bl	delete_user
.L65:
	ldr	r3, [fp, #-1144]
	cmp	r3, #0
	bne	.L66
	bl	setup_io
	mov	r0, #1
	bl	setup_sandbox
	ldr	r3, [fp, #-1148]
	mov	r0, r3
	bl	setgid
	ldr	r3, [fp, #-1148]
	mov	r0, r3
	bl	setuid
	mov	r3, #0
	str	r3, [fp, #-1136]
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L68+36
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-1140]
	ldr	r0, [fp, #-1140]
	bl	exit
.L66:
	nop
	ldr	r2, .L68
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC40
	.word	.LC34
	.word	2122851
	.word	exe_path
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	stderr
	.word	.LC38
	.word	.LC39
	.size	execute_cfile, .-execute_cfile
	.section	.rodata
	.align	2
.LC41:
	.ascii	"rm output.txt input >/dev/null 2>&1\000"
	.align	2
.LC42:
	.ascii	"python2\000"
	.align	2
.LC43:
	.ascii	"input.py\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	execute_pyfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_pyfile, %function
execute_pyfile:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L75+4
	bl	system
	bl	create_user
	str	r0, [fp, #-28]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L71
	ldr	r3, .L75+8
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L75+12
	bl	fwrite
.L71:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L72
	sub	r3, fp, #32
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	waitpid
	ldr	r0, [fp, #-28]
	bl	delete_user
.L72:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L73
	bl	setup_io
	mov	r0, #0
	bl	setup_sandbox
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	setgid
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	setuid
	ldr	r3, .L75+16
	str	r3, [fp, #-16]
	ldr	r3, .L75+20
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L75+16
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	exit
.L73:
	nop
	ldr	r2, .L75
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC44
	.word	.LC41
	.word	stderr
	.word	.LC38
	.word	.LC42
	.word	.LC43
	.size	execute_pyfile, .-execute_pyfile
	.section	.rodata
	.align	2
.LC45:
	.ascii	"useradd -M -u %d u%d -p 123 \000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_user, %function
create_user:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L82+4
	ldr	r0, .L82+8
	bl	rand_interval
	mov	r3, r0
	str	r3, [fp, #-68]
	b	.L78
.L79:
	ldr	r1, .L82+4
	ldr	r0, .L82+8
	bl	rand_interval
	mov	r3, r0
	str	r3, [fp, #-68]
.L78:
	ldr	r0, [fp, #-68]
	bl	getpwuid
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L79
	sub	r0, fp, #60
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	ldr	r1, .L82+12
	bl	sprintf
	ldr	r3, .L82+16
	ldr	r3, [r3]
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L82+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #60
	mov	r0, r3
	bl	system
	ldr	r3, [fp, #-68]
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC46
	.word	50000
	.word	1001
	.word	.LC45
	.word	stderr
	.size	create_user, .-create_user
	.section	.rodata
	.align	2
.LC47:
	.ascii	"userdel u%d\000"
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	delete_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_user, %function
delete_user:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #60
	ldr	r2, [fp, #-64]
	ldr	r1, .L86+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L86+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #60
	mov	r0, r3
	bl	system
	nop
	ldr	r3, .L86
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC48
	.word	.LC47
	.word	stderr
	.size	delete_user, .-delete_user
	.global	__aeabi_idiv
	.align	2
	.global	rand_interval
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_interval, %function
rand_interval:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	mvn	r0, #-2147483648
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
.L89:
	bl	rand
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L89
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rand_interval, .-rand_interval
	.section	.rodata
	.align	2
.LC49:
	.ascii	"/proc/%d/exe\000"
	.align	2
.LC50:
	.ascii	"sandbox is located in %s\012\000"
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_running_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_running_dir, %function
get_running_dir:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	ldr	r3, .L93
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L93+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	ldr	r1, .L93+8
	mov	r0, r3
	bl	readlink
	mov	r1, #47
	ldr	r0, .L93+8
	bl	strrchr
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L93+12
	ldr	r3, [r3]
	ldr	r2, .L93+8
	ldr	r1, .L93+16
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L93+8
	bl	chdir
	nop
	ldr	r3, .L93
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L92
	bl	__stack_chk_fail
.L92:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L94:
	.align	2
.L93:
	.word	.LC51
	.word	.LC49
	.word	exe_path
	.word	stderr
	.word	.LC50
	.size	get_running_dir, .-get_running_dir
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
