	.file	"57949010.c"
	.intel_syntax noprefix
	.text
	.globl	forkexec
	.type	forkexec, @function
forkexec:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	edi, 127
	call	exit@PLT
.L2:
	mov	DWORD PTR -16[rbp], -1
	nop
.L4:
	lea	rcx, -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	cmp	eax, -1
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L4
.L3:
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	forkexec, .-forkexec
	.section	.rodata
.LC0:
	.string	"--allow-setgroups"
.LC1:
	.string	"--"
	.align 8
.LC2:
	.string	"Usage: %s [--allow-setgroups] [uid lower count...] -- [gid lower count...] -- cmd [args...]\n"
.LC3:
	.string	"%d"
.LC4:
	.string	"pipe failed"
.LC5:
	.string	"fork failed"
.LC6:
	.string	"newuidmap"
.LC7:
	.string	"newuidmap failed: %d\n"
.LC8:
	.string	"newgidmap"
.LC9:
	.string	"newgidmap failed: %d\n"
.LC10:
	.string	"unshare(CLONE_NEWUSER) failed"
	.align 8
.LC11:
	.string	"Are unprivileged containers allowed?\nCheck using 'sysctl kernel.unprivileged_userns_clone' and consider enabling it if it isn't already\n"
.LC12:
	.string	"/proc/self/setgroups"
	.align 8
.LC13:
	.string	"Failed to open /proc/self/setgroups"
.LC14:
	.string	"deny"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 472
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -468[rbp], edi
	mov	QWORD PTR -480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -457[rbp], 0
	cmp	DWORD PTR -468[rbp], 2
	jle	.L8
	mov	rax, QWORD PTR -480[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	BYTE PTR -457[rbp], 1
	mov	rax, QWORD PTR -480[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	add	QWORD PTR -480[rbp], 8
	sub	DWORD PTR -468[rbp], 1
.L8:
	lea	rax, -368[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -480[rbp]
	add	rax, 8
	mov	QWORD PTR -368[rbp], rax
	mov	DWORD PTR -448[rbp], 0
	mov	DWORD PTR -452[rbp], 1
	jmp	.L9
.L13:
	mov	eax, DWORD PTR -452[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -480[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 312
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 312
	mov	DWORD PTR [rax], edx
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -452[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -480[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -448[rbp], 1
	mov	eax, DWORD PTR -452[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -480[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 320
	mov	QWORD PTR [rax], rdx
	cmp	DWORD PTR -448[rbp], 1
	jle	.L11
	mov	eax, DWORD PTR -468[rbp]
	sub	eax, DWORD PTR -452[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 312
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -448[rbp], 1
	jmp	.L12
.L11:
	add	DWORD PTR -452[rbp], 1
.L9:
	mov	eax, DWORD PTR -468[rbp]
	sub	eax, 1
	cmp	DWORD PTR -452[rbp], eax
	jl	.L13
.L12:
	cmp	DWORD PTR -448[rbp], 3
	jne	.L14
	mov	edx, DWORD PTR -360[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L14
	mov	edx, DWORD PTR -344[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -328[rbp]
	test	eax, eax
	jne	.L15
.L14:
	mov	rax, QWORD PTR -480[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L39
.L15:
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	call	getpid@PLT
	mov	edx, eax
	lea	rax, -320[rbp]
	mov	ecx, edx
	lea	rdx, .LC3[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -376[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L17
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	call	fork@PLT
	mov	DWORD PTR -444[rbp], eax
	cmp	DWORD PTR -444[rbp], 0
	jns	.L18
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	cmp	DWORD PTR -444[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	close@PLT
.L27:
	mov	DWORD PTR -456[rbp], -1
	mov	eax, DWORD PTR -376[rbp]
	lea	rcx, -456[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -436[rbp], eax
	cmp	DWORD PTR -436[rbp], 0
	jne	.L20
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -360[rbp]
	mov	DWORD PTR -432[rbp], eax
	mov	eax, DWORD PTR -432[rbp]
	add	eax, 3
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -416[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -496[rbp], rdx
	mov	QWORD PTR -488[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -512[rbp], rdx
	mov	QWORD PTR -504[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -408[rbp], rax
	mov	rax, QWORD PTR -408[rbp]
	lea	rdx, .LC6[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -408[rbp]
	lea	rdx, -320[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -432[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -368[rbp]
	mov	rcx, QWORD PTR -408[rbp]
	add	rcx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -432[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -408[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	forkexec
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 0
	jne	.L24
	jmp	.L41
.L20:
	cmp	DWORD PTR -436[rbp], -1
	jne	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L26
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -436[rbp]
	mov	edi, eax
	call	exit@PLT
.L24:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -428[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -428[rbp]
	mov	edi, eax
	call	exit@PLT
.L41:
	mov	rsp, rbx
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR -424[rbp], eax
	mov	eax, DWORD PTR -424[rbp]
	add	eax, 3
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -400[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L28:
	cmp	rsp, rdx
	je	.L29
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L28
.L29:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L30
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L30:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -392[rbp], rax
	mov	rax, QWORD PTR -392[rbp]
	lea	rdx, .LC8[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -392[rbp]
	lea	rdx, -320[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -424[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -352[rbp]
	mov	rcx, QWORD PTR -392[rbp]
	add	rcx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -424[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -392[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	forkexec
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 0
	je	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -420[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -420[rbp]
	mov	edi, eax
	call	exit@PLT
.L31:
	mov	rsp, rbx
	mov	eax, 0
	jmp	.L39
.L19:
	mov	eax, DWORD PTR -376[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 268435456
	call	unshare@PLT
	cmp	eax, -1
	jne	.L32
	lea	rdi, .LC10[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 136
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
.L33:
	mov	DWORD PTR -380[rbp], 1
	mov	eax, DWORD PTR -372[rbp]
	lea	rcx, -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	movzx	eax, BYTE PTR -457[rbp]
	xor	eax, 1
	test	al, al
	je	.L34
	mov	esi, 1
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -440[rbp], eax
	cmp	DWORD PTR -440[rbp], -1
	jne	.L35
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	DWORD PTR -380[rbp], 1
	mov	eax, DWORD PTR -372[rbp]
	lea	rcx, -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	mov	eax, DWORD PTR -440[rbp]
	mov	edx, 4
	lea	rsi, .LC14[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -440[rbp]
	mov	edi, eax
	call	close@PLT
.L34:
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -456[rbp], -1
	nop
.L37:
	lea	rcx, -456[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	cmp	eax, -1
	jne	.L36
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L37
.L36:
	mov	eax, DWORD PTR -456[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	DWORD PTR -456[rbp], eax
	mov	eax, DWORD PTR -456[rbp]
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -456[rbp]
	mov	edi, eax
	call	exit@PLT
.L38:
	mov	rdx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
.L39:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"57949010.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	forkexec
	.syntax unified
	.arm
	.fpu softvfp
	.type	forkexec, %function
forkexec:
	@ 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]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	execvp
	mov	r0, #127
	bl	exit
.L2:
	mvn	r3, #0
	str	r3, [fp, #-16]
	nop
.L4:
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	waitpid
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L4
.L3:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	forkexec, .-forkexec
	.section	.rodata
	.align	2
.LC1:
	.ascii	"--allow-setgroups\000"
	.align	2
.LC2:
	.ascii	"--\000"
	.align	2
.LC3:
	.ascii	"Usage: %s [--allow-setgroups] [uid lower count...] "
	.ascii	"-- [gid lower count...] -- cmd [args...]\012\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"pipe failed\000"
	.align	2
.LC6:
	.ascii	"fork failed\000"
	.align	2
.LC7:
	.ascii	"newuidmap\000"
	.align	2
.LC8:
	.ascii	"newuidmap failed: %d\012\000"
	.align	2
.LC9:
	.ascii	"newgidmap\000"
	.align	2
.LC10:
	.ascii	"newgidmap failed: %d\012\000"
	.align	2
.LC11:
	.ascii	"unshare(CLONE_NEWUSER) failed\000"
	.align	2
.LC12:
	.ascii	"Are unprivileged containers allowed?\012Check using"
	.ascii	" 'sysctl kernel.unprivileged_userns_clone' and cons"
	.ascii	"ider enabling it if it isn't already\012\000"
	.align	2
.LC13:
	.ascii	"/proc/self/setgroups\000"
	.align	2
.LC14:
	.ascii	"Failed to open /proc/self/setgroups\000"
	.align	2
.LC15:
	.ascii	"deny\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 = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #372
	str	r0, [fp, #-376]
	str	r1, [fp, #-380]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-365]
	ldr	r3, [fp, #-376]
	cmp	r3, #2
	ble	.L10
	ldr	r3, [fp, #-380]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L38+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #1
	strb	r3, [fp, #-365]
	ldr	r3, [fp, #-380]
	add	r3, r3, #4
	ldr	r2, [fp, #-380]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-380]
	add	r3, r3, #4
	str	r3, [fp, #-380]
	ldr	r3, [fp, #-376]
	sub	r3, r3, #1
	str	r3, [fp, #-376]
.L10:
	sub	r3, fp, #296
	mov	r2, #24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-380]
	add	r3, r3, #4
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #1
	str	r3, [fp, #-360]
	b	.L11
.L15:
	ldr	r3, [fp, #-360]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-380]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L38+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-356]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-280]
	add	r2, r3, #1
	ldr	r3, [fp, #-356]
	lsl	r3, r3, #3
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-280]
	b	.L13
.L12:
	ldr	r3, [fp, #-360]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-380]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-356]
	add	r3, r3, #1
	str	r3, [fp, #-356]
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-380]
	add	r2, r2, r3
	ldr	r3, [fp, #-356]
	lsl	r3, r3, #3
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-284]
	ldr	r3, [fp, #-356]
	cmp	r3, #1
	ble	.L13
	ldr	r2, [fp, #-376]
	ldr	r3, [fp, #-360]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-356]
	lsl	r3, r3, #3
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-280]
	ldr	r3, [fp, #-356]
	add	r3, r3, #1
	str	r3, [fp, #-356]
	b	.L14
.L13:
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-360]
.L11:
	ldr	r3, [fp, #-376]
	sub	r3, r3, #1
	ldr	r2, [fp, #-360]
	cmp	r2, r3
	blt	.L15
.L14:
	ldr	r3, [fp, #-356]
	cmp	r3, #3
	bne	.L16
	ldr	r1, [fp, #-292]
	ldr	r3, .L38+12
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L16
	ldr	r1, [fp, #-284]
	ldr	r3, .L38+12
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L16
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L17
.L16:
	ldr	r3, [fp, #-380]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+16
	bl	printf
	mov	r3, #1
	b	.L35
.L17:
	mov	r3, #0
	str	r3, [fp, #-272]
	sub	r3, fp, #268
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	bl	getpid
	mov	r3, r0
	sub	r0, fp, #272
	ldr	r2, .L38+20
	mov	r1, #256
	bl	snprintf
	sub	r3, fp, #304
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L38+24
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-352]
	ldr	r3, [fp, #-352]
	cmp	r3, #0
	bge	.L20
	ldr	r0, .L38+28
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, [fp, #-352]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-300]
	mov	r0, r3
	bl	close
.L26:
	mvn	r3, #0
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-304]
	sub	r1, fp, #364
	mov	r2, #4
	mov	r0, r3
	bl	read
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	bne	.L22
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-292]
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-340]
	add	ip, r3, #3
	sub	r3, ip, #1
	str	r3, [fp, #-336]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-332]
	ldr	r3, [fp, #-332]
	ldr	r2, .L38+32
	str	r2, [r3]
	ldr	r3, [fp, #-332]
	sub	r2, fp, #272
	str	r2, [r3, #4]
	ldr	r3, [fp, #-332]
	add	r0, r3, #8
	ldr	r1, [fp, #-296]
	ldr	r3, [fp, #-340]
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-340]
	add	r2, r3, #2
	ldr	r3, [fp, #-332]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r0, [fp, #-332]
	bl	forkexec
	str	r0, [fp, #-328]
	ldr	r3, [fp, #-328]
	cmp	r3, #0
	bne	.L23
	b	.L37
.L22:
	ldr	r3, [fp, #-344]
	cmn	r3, #1
	bne	.L25
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L25
	b	.L26
.L25:
	ldr	r0, [fp, #-344]
	bl	exit
.L23:
	ldr	r3, .L38+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-328]
	ldr	r1, .L38+40
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-328]
	bl	exit
.L37:
	mov	sp, r4
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-324]
	ldr	r3, [fp, #-324]
	add	ip, r3, #3
	sub	r3, ip, #1
	str	r3, [fp, #-320]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-316]
	ldr	r3, [fp, #-316]
	ldr	r2, .L38+44
	str	r2, [r3]
	ldr	r3, [fp, #-316]
	sub	r2, fp, #272
	str	r2, [r3, #4]
	ldr	r3, [fp, #-316]
	add	r0, r3, #8
	ldr	r1, [fp, #-288]
	ldr	r3, [fp, #-324]
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-324]
	add	r2, r3, #2
	ldr	r3, [fp, #-316]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r0, [fp, #-316]
	bl	forkexec
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L38+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	ldr	r1, .L38+48
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-312]
	bl	exit
.L27:
	mov	sp, r4
	mov	r3, #0
	b	.L35
.L21:
	ldr	r3, [fp, #-304]
	mov	r0, r3
	bl	close
	mov	r0, #268435456
	bl	unshare
	mov	r3, r0
	cmn	r3, #1
	bne	.L28
	ldr	r0, .L38+52
	bl	perror
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L29
	ldr	r3, .L38+36
	ldr	r3, [r3]
	mov	r2, #136
	mov	r1, #1
	ldr	r0, .L38+56
	bl	fwrite
.L29:
	ldr	r3, [fp, #-300]
	mov	r2, #1
	str	r2, [fp, #-308]
	sub	r1, fp, #308
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-300]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	exit
.L28:
	ldrb	r3, [fp, #-365]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L30
	mov	r1, #1
	ldr	r0, .L38+60
	bl	open
	str	r0, [fp, #-348]
	ldr	r3, [fp, #-348]
	cmn	r3, #1
	bne	.L31
	ldr	r0, .L38+64
	bl	perror
	ldr	r3, [fp, #-300]
	mov	r2, #1
	str	r2, [fp, #-308]
	sub	r1, fp, #308
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-300]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	exit
.L31:
	mov	r2, #4
	ldr	r1, .L38+68
	ldr	r0, [fp, #-348]
	bl	write
	ldr	r0, [fp, #-348]
	bl	close
.L30:
	ldr	r3, [fp, #-300]
	mov	r0, r3
	bl	close
	mvn	r3, #0
	str	r3, [fp, #-364]
	nop
.L33:
	sub	r3, fp, #364
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-352]
	bl	waitpid
	mov	r3, r0
	cmn	r3, #1
	bne	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L33
.L32:
	ldr	r3, [fp, #-364]
	asr	r3, r3, #8
	and	r3, r3, #255
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-364]
	mov	r0, r3
	bl	exit
.L34:
	ldr	r3, [fp, #-280]
	ldr	r3, [r3]
	ldr	r2, [fp, #-280]
	mov	r1, r2
	mov	r0, r3
	bl	execvp
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
.L35:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC16
	.word	.LC1
	.word	.LC2
	.word	1431655766
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
