	.file	"716110.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"     Real UID=%d\nEffective UID=%d\n"
	.align 8
.LC1:
	.string	"     Real GID=%d\nEffective GID=%d\n"
.LC2:
	.string	"%s UID=%d\n%s GID=%d\n"
	.align 8
.LC3:
	.string	"\nsetuid/setgid programs siliently fail if partition is mounted"
	.align 8
.LC4:
	.string	"``nosuid'' (see /etc/fstab and mount -u -o suid partition)"
	.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
	push	rbx
	sub	rsp, 184
	.cfi_offset 3, -24
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	call	geteuid@PLT
	mov	ebx, eax
	call	getuid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	getegid@PLT
	mov	ebx, eax
	call	getgid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L2
	mov	esi, DWORD PTR -144[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR -148[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	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	"716110.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"     Real UID=%d\012Effective UID=%d\012\000"
	.align	2
.LC1:
	.ascii	"     Real GID=%d\012Effective GID=%d\012\000"
	.align	2
.LC2:
	.ascii	"%s UID=%d\012%s GID=%d\012\000"
	.align	2
.LC3:
	.ascii	"\012setuid/setgid programs siliently fail if partit"
	.ascii	"ion is mounted\000"
	.align	2
.LC4:
	.ascii	"``nosuid'' (see /etc/fstab and mount -u -o suid par"
	.ascii	"tition)\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 = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	getuid
	mov	r4, r0
	bl	geteuid
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L5+4
	bl	printf
	bl	getgid
	mov	r4, r0
	bl	getegid
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-116]
	ldr	r1, [r3]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-116]
	ldr	r0, [r3]
	ldr	r3, [fp, #-80]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L5+12
	bl	printf
.L2:
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	mov	r3, #0
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L6:
	.align	2
.L5:
	.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
