	.file	"extr_libfs.c_simple_pin_fs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	simple_pin_fs
	.type	simple_pin_fs, @function
simple_pin_fs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, pin_fs_lock[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	spin_lock@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L2
	mov	rdi, QWORD PTR [rbx]
	xor	r12d, r12d
.L3:
	call	mntget@PLT
	add	DWORD PTR 0[rbp], 1
	lea	rdi, pin_fs_lock[rip]
	call	spin_unlock@PLT
	mov	rdi, r12
	call	mntput@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, pin_fs_lock[rip]
	call	spin_unlock@PLT
	mov	edx, DWORD PTR [r12]
	mov	rdi, r12
	xor	ecx, ecx
	mov	esi, DWORD PTR SB_KERNMOUNT[rip]
	call	vfs_kern_mount@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	lea	rdi, pin_fs_lock[rip]
	call	spin_lock@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L3
	mov	QWORD PTR [rbx], r12
	mov	rdi, r12
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	simple_pin_fs, .-simple_pin_fs
	.comm	pin_fs_lock,4,4
	.comm	SB_KERNMOUNT,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_libfs.c_simple_pin_fs.c"
	.text
	.align	2
	.global	simple_pin_fs
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_pin_fs, %function
simple_pin_fs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	ldr	r0, .L8
	mov	r6, r2
	bl	spin_lock
	ldr	r0, [r5]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r4, r0, #0
	bne	.L2
	ldr	r0, [r5]
.L3:
	bl	mntget
	ldr	r3, [r6]
	ldr	r0, .L8
	add	r3, r3, #1
	str	r3, [r6]
	bl	spin_unlock
	mov	r0, r4
	bl	mntput
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L8
	bl	spin_unlock
	ldr	r2, .L8+4
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r7
	ldr	r2, [r7]
	bl	vfs_kern_mount
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L7
	ldr	r0, .L8
	bl	spin_lock
	ldr	r0, [r5]
	cmp	r0, #0
	moveq	r0, r4
	streq	r4, [r5]
	b	.L3
.L7:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L9:
	.align	2
.L8:
	.word	pin_fs_lock
	.word	SB_KERNMOUNT
	.size	simple_pin_fs, .-simple_pin_fs
	.comm	pin_fs_lock,4,4
	.comm	SB_KERNMOUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
