	.file	"extr_kern_descrip.c_file_vnode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	file_vnode
	.type	file_vnode, @function
file_vnode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	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, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	current_proc@PLT
	mov	ebp, eax
	mov	edi, eax
	call	proc_fdlock_spin@PLT
	mov	rdx, rsp
	mov	ecx, 1
	mov	esi, r13d
	mov	edi, ebp
	call	fp_lookup@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L5
	mov	rdx, QWORD PTR [rsp]
	mov	rax, QWORD PTR DTYPE_VNODE[rip]
	cmp	QWORD PTR [rdx], rax
	jne	.L12
	test	rbx, rbx
	je	.L5
	mov	rax, QWORD PTR 8[rdx]
	mov	QWORD PTR [rbx], rax
.L5:
	mov	edi, ebp
	call	proc_fdunlock@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L12:
	.cfi_restore_state
	mov	ecx, 1
	mov	esi, r13d
	mov	edi, ebp
	call	fp_drop@PLT
	mov	edi, ebp
	call	proc_fdunlock@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	file_vnode, .-file_vnode
	.comm	EINVAL,4,4
	.comm	DTYPE_VNODE,8,8
	.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_kern_descrip.c_file_vnode.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	file_vnode
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_vnode, %function
file_vnode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	sub	sp, sp, #12
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	current_proc
	mov	r5, r0
	bl	proc_fdlock_spin
	mov	r1, r6
	mov	r0, r5
	mov	r3, #1
	mov	r2, sp
	bl	fp_lookup
	subs	r4, r0, #0
	bne	.L5
	ldr	r2, [sp]
	ldr	r3, .L14+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L12
	cmp	r7, #0
	ldrne	r3, [r2, #4]
	strne	r3, [r7]
.L5:
	mov	r0, r5
	bl	proc_fdunlock
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r3, #1
	mov	r1, r6
	mov	r0, r5
	bl	fp_drop
	mov	r0, r5
	bl	proc_fdunlock
	ldr	r3, .L14+8
	ldr	r4, [r3]
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	DTYPE_VNODE
	.word	EINVAL
	.size	file_vnode, .-file_vnode
	.comm	EINVAL,4,4
	.comm	DTYPE_VNODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
