	.file	"extr_base.c_pid_getattr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pid_getattr
	.type	pid_getattr, @function
pid_getattr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 8[rsi]
	mov	rax, QWORD PTR [rsi]
	mov	rsi, rdx
	mov	rdi, r12
	mov	r13, QWORD PTR [rax]
	call	generic_fillattr@PLT
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	QWORD PTR [rbx], 0
	mov	rdi, r12
	mov	ebp, DWORD PTR PIDTYPE_PID[rip]
	call	proc_pid@PLT
	mov	esi, ebp
	mov	edi, eax
	call	pid_task@PLT
	test	rax, rax
	je	.L3
	mov	edx, 2
	mov	rsi, rax
	mov	rdi, r13
	mov	rbp, rax
	call	has_pid_permissions@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR S_IFDIR[rip]
	or	eax, DWORD PTR S_IRUGO[rip]
	or	eax, DWORD PTR S_IXUGO[rip]
	cmp	DWORD PTR [r12], eax
	je	.L7
	mov	rdi, rbp
	call	task_dumpable@PLT
	test	rax, rax
	jne	.L7
.L3:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	__task_cred@PLT
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 4[rbx], edx
	mov	DWORD PTR [rbx], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	call	rcu_read_unlock@PLT
	mov	eax, DWORD PTR ENOENT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pid_getattr, .-pid_getattr
	.comm	S_IXUGO,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFDIR,4,4
	.comm	PIDTYPE_PID,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_base.c_pid_getattr.c"
	.text
	.align	2
	.global	pid_getattr
	.syntax unified
	.arm
	.fpu softvfp
	.type	pid_getattr, %function
pid_getattr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r1, {r3, r6}
	mov	r1, r2
	mov	r0, r6
	mov	r4, r2
	ldr	r7, [r3]
	bl	generic_fillattr
	bl	rcu_read_lock
	mov	r3, #0
	mov	r0, r6
	str	r3, [r4, #4]
	str	r3, [r4]
	bl	proc_pid
	ldr	r3, .L12
	ldr	r1, [r3]
	bl	pid_task
	subs	r5, r0, #0
	beq	.L3
	mov	r0, r7
	mov	r2, #2
	mov	r1, r5
	bl	has_pid_permissions
	cmp	r0, #0
	beq	.L11
	ldr	r1, .L12+4
	ldr	r3, .L12+8
	ldr	r2, .L12+12
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	orr	r3, r3, r0
	ldr	r2, [r6]
	orr	r3, r3, r1
	cmp	r2, r3
	beq	.L7
	mov	r0, r5
	bl	task_dumpable
	cmp	r0, #0
	beq	.L3
.L7:
	mov	r0, r5
	bl	__task_cred
	ldr	r2, [r0, #4]
	ldr	r3, [r0]
	str	r2, [r4, #4]
	str	r3, [r4]
.L3:
	bl	rcu_read_unlock
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	bl	rcu_read_unlock
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	PIDTYPE_PID
	.word	S_IRUGO
	.word	S_IFDIR
	.word	S_IXUGO
	.word	ENOENT
	.size	pid_getattr, .-pid_getattr
	.comm	S_IXUGO,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFDIR,4,4
	.comm	PIDTYPE_PID,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
