	.file	"14199509.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s <un> <uid> <gn> <gui> <home>\n"
	.align 8
.LC1:
	.string	"grep -q '^%s' /etc/group || /usr/sbin/groupadd -g %s %s;grep -q '^%s' /etc/passwd || /usr/sbin/useradd -u %s -g %s -d %s %s;"
.LC2:
	.string	"-c"
.LC3:
	.string	"bash"
.LC4:
	.string	"/bin/bash"
	.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, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -324[rbp], 6
	je	.L2
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -288[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -280[rbp], rax
	mov	r8, QWORD PTR -296[rbp]
	mov	rdi, QWORD PTR -312[rbp]
	mov	rcx, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	sub	rsp, 8
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -296[rbp]
	push	QWORD PTR -288[rbp]
	push	QWORD PTR -320[rbp]
	push	QWORD PTR -304[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 48
	mov	edi, 0
	call	setuid@PLT
	lea	rax, -272[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	rcx, rax
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	execle@PLT
.L4:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	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	"14199509.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <un> <uid> <gn> <gui> <home>\012\000"
	.align	2
.LC1:
	.ascii	"grep -q '^%s' /etc/group || /usr/sbin/groupadd -g %"
	.ascii	"s %s;grep -q '^%s' /etc/passwd || /usr/sbin/useradd"
	.ascii	" -u %s -g %s -d %s %s;\000"
	.align	2
.LC2:
	.ascii	"-c\000"
	.align	2
.LC3:
	.ascii	"bash\000"
	.align	2
.LC4:
	.ascii	"/bin/bash\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-296]
	cmp	r3, #6
	beq	.L2
	ldr	r3, [fp, #-300]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+4
	bl	printf
	mov	r3, #1
	b	.L4
.L2:
	ldr	r3, [fp, #-300]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-300]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-300]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-300]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-300]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-272]
	ldr	r3, .L6+8
	str	r3, [fp, #-268]
	sub	r0, fp, #264
	ldr	r3, [fp, #-276]
	str	r3, [sp, #24]
	ldr	r3, [fp, #-276]
	str	r3, [sp, #20]
	ldr	r3, [fp, #-272]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-288]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-280]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-276]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-284]
	str	r3, [sp]
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-284]
	ldr	r1, [fp, #-268]
	bl	sprintf
	mov	r0, #0
	bl	setuid
	sub	r3, fp, #264
	mov	r2, #0
	str	r2, [sp, #4]
	mov	r2, #0
	str	r2, [sp]
	ldr	r2, .L6+12
	ldr	r1, .L6+16
	ldr	r0, .L6+20
	bl	execle
	mov	r3, r0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
