	.file	"extr_namespace.c___mnt_want_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__mnt_want_write
	.type	__mnt_want_write, @function
__mnt_want_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	real_mount@PLT
	mov	rbp, rax
	xor	eax, eax
	call	preempt_disable@PLT
	mov	rdi, rbp
	call	mnt_inc_writers@PLT
	xor	eax, eax
	call	smp_mb@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	call	cpu_relax@PLT
.L2:
	mov	edi, DWORD PTR 0[rbp]
	call	READ_ONCE@PLT
	and	eax, DWORD PTR MNT_WRITE_HOLD[rip]
	mov	r12d, eax
	mov	eax, 0
	jne	.L3
	call	smp_rmb@PLT
	mov	rdi, r13
	call	mnt_is_readonly@PLT
	test	rax, rax
	jne	.L10
	xor	eax, eax
	call	preempt_enable@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	mnt_dec_writers@PLT
	mov	r12d, DWORD PTR EROFS[rip]
	xor	eax, eax
	call	preempt_enable@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__mnt_want_write, .-__mnt_want_write
	.comm	MNT_WRITE_HOLD,4,4
	.comm	EROFS,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_namespace.c___mnt_want_write.c"
	.text
	.align	2
	.global	__mnt_want_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	__mnt_want_write, %function
__mnt_want_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	real_mount
	mov	r4, r0
	bl	preempt_disable
	mov	r0, r4
	bl	mnt_inc_writers
	ldr	r5, .L11
	bl	smp_mb
	b	.L2
.L3:
	bl	cpu_relax
.L2:
	ldr	r0, [r4]
	bl	READ_ONCE
	ldr	r3, [r5]
	tst	r0, r3
	bne	.L3
	bl	smp_rmb
	mov	r0, r6
	bl	mnt_is_readonly
	subs	r5, r0, #0
	bne	.L10
.L4:
	bl	preempt_enable
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	bl	mnt_dec_writers
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L4
.L12:
	.align	2
.L11:
	.word	MNT_WRITE_HOLD
	.word	EROFS
	.size	__mnt_want_write, .-__mnt_want_write
	.comm	MNT_WRITE_HOLD,4,4
	.comm	EROFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
