	.file	"114777.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/proc"
.LC1:
	.string	"/proc/%s"
	.text
	.globl	uid_executing
	.type	uid_executing, @function
uid_executing:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 432
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -436[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	opendir@PLT
	mov	r12, rax
	jmp	.L2
.L5:
	lea	rdx, 19[rbx]
	lea	rax, -288[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -432[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L3
	mov	eax, 0
	jmp	.L6
.L3:
	mov	edx, DWORD PTR -404[rbp]
	mov	eax, DWORD PTR -436[rbp]
	cmp	edx, eax
	jne	.L2
	mov	eax, 1
	jmp	.L6
.L2:
	mov	rdi, r12
	call	readdir@PLT
	mov	rbx, rax
	test	rbx, rbx
	jne	.L5
	mov	rdi, r12
	call	closedir@PLT
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	add	rsp, 432
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	uid_executing, .-uid_executing
	.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	"114777.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/proc\000"
	.align	2
.LC1:
	.ascii	"/proc/%s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uid_executing
	.syntax unified
	.arm
	.fpu softvfp
	.type	uid_executing, %function
uid_executing:
	@ args = 0, pretend = 0, frame = 360
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #360
	str	r0, [fp, #-368]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L8+4
	bl	opendir
	mov	r5, r0
	b	.L2
.L5:
	add	r2, r4, #11
	sub	r3, fp, #272
	ldr	r1, .L8+8
	mov	r0, r3
	bl	sprintf
	sub	r2, fp, #364
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	mov	r3, #0
	b	.L6
.L3:
	ldr	r2, [fp, #-340]
	ldr	r3, [fp, #-368]
	cmp	r2, r3
	bne	.L2
	mov	r3, #1
	b	.L6
.L2:
	mov	r0, r5
	bl	readdir
	mov	r4, r0
	cmp	r4, #0
	bne	.L5
	mov	r0, r5
	bl	closedir
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	uid_executing, .-uid_executing
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
