	.file	"418262.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-g"
	.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, 448
	mov	DWORD PTR -436[rbp], edi
	mov	QWORD PTR -448[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -436[rbp], 2
	jne	.L2
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -388[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L4
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -424[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L5
.L2:
	cmp	DWORD PTR -436[rbp], 3
	jne	.L6
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L7
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -384[rbp]
	mov	edi, eax
	call	getgrgid@PLT
	mov	QWORD PTR -432[rbp], rax
	cmp	QWORD PTR -432[rbp], 0
	jne	.L8
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L5
.L6:
	mov	edi, 10
	call	putchar@PLT
.L5:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"418262.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-g\000"
	.align	2
.LC1:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #368
	str	r0, [fp, #-368]
	str	r1, [fp, #-372]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-368]
	cmp	r3, #2
	bne	.L2
	ldr	r3, [fp, #-372]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #356
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	mov	r0, #10
	bl	putchar
	mov	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-332]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L4
	mov	r0, #10
	bl	putchar
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-360]
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	b	.L5
.L2:
	ldr	r3, [fp, #-368]
	cmp	r3, #3
	bne	.L6
	ldr	r3, [fp, #-372]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L10+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-372]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #356
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L7
	mov	r0, #10
	bl	putchar
	mov	r0, #0
	bl	exit
.L7:
	ldr	r3, [fp, #-328]
	mov	r0, r3
	bl	getgrgid
	str	r0, [fp, #-364]
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L8
	mov	r0, #10
	bl	putchar
	mov	r0, #0
	bl	exit
.L8:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	b	.L5
.L6:
	mov	r0, #10
	bl	putchar
.L5:
	mov	r0, #0
	bl	exit
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
