	.file	"extr_vfs_lookup.c_compute_cn_lkflags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	compute_cn_lkflags, @function
compute_cn_lkflags:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	mov	esi, DWORD PTR LK_SHARED[rip]
	test	rdi, rdi
	je	.L2
	test	eax, esi
	je	.L3
	mov	ecx, DWORD PTR [rdi]
	test	DWORD PTR MNTK_LOOKUP_SHARED[rip], ecx
	je	.L2
	test	DWORD PTR ISDOTDOT[rip], edx
	je	.L3
	test	DWORD PTR MNTK_LOOKUP_EXCL_DOTDOT[rip], ecx
	je	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	not	esi
	and	eax, esi
	or	eax, DWORD PTR LK_EXCLUSIVE[rip]
.L3:
	or	eax, DWORD PTR LK_NODDLKTREAT[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	compute_cn_lkflags, .-compute_cn_lkflags
	.comm	MNTK_LOOKUP_SHARED,4,4
	.comm	MNTK_LOOKUP_EXCL_DOTDOT,4,4
	.comm	LK_SHARED,4,4
	.comm	LK_NODDLKTREAT,4,4
	.comm	LK_EXCLUSIVE,4,4
	.comm	ISDOTDOT,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_vfs_lookup.c_compute_cn_lkflags.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_cn_lkflags, %function
compute_cn_lkflags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L20
	cmp	r0, #0
	ldr	r3, [r3]
	beq	.L2
	tst	r1, r3
	beq	.L3
	ldr	ip, .L20+4
	ldr	r0, [r0]
	ldr	ip, [ip]
	tst	r0, ip
	beq	.L2
	ldr	ip, .L20+8
	ldr	ip, [ip]
	tst	r2, ip
	beq	.L3
	ldr	r2, .L20+12
	ldr	r2, [r2]
	tst	r0, r2
	beq	.L3
.L2:
	ldr	r2, .L20+16
	bic	r1, r1, r3
	ldr	r0, [r2]
	orr	r1, r1, r0
.L3:
	ldr	r3, .L20+20
	ldr	r0, [r3]
	orr	r0, r1, r0
	bx	lr
.L21:
	.align	2
.L20:
	.word	LK_SHARED
	.word	MNTK_LOOKUP_SHARED
	.word	ISDOTDOT
	.word	MNTK_LOOKUP_EXCL_DOTDOT
	.word	LK_EXCLUSIVE
	.word	LK_NODDLKTREAT
	.size	compute_cn_lkflags, .-compute_cn_lkflags
	.comm	MNTK_LOOKUP_SHARED,4,4
	.comm	MNTK_LOOKUP_EXCL_DOTDOT,4,4
	.comm	LK_SHARED,4,4
	.comm	LK_NODDLKTREAT,4,4
	.comm	LK_EXCLUSIVE,4,4
	.comm	ISDOTDOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
