	.file	"extr_namespace.c_clone_mnt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	clone_mnt, @function
clone_mnt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR 48[rdi]
	mov	edi, DWORD PTR 72[rdi]
	call	alloc_vfsmnt@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	test	rax, rax
	je	.L36
	mov	edx, DWORD PTR CL_MAKE_SHARED[rip]
	mov	r12, rax
	mov	eax, DWORD PTR CL_SLAVE[rip]
	or	eax, DWORD PTR CL_PRIVATE[rip]
	or	eax, DWORD PTR CL_SHARED_TO_SLAVE[rip]
	and	edx, ebx
	test	eax, ebx
	jne	.L3
	mov	rax, QWORD PTR 64[rbp]
	mov	QWORD PTR 64[r12], rax
	test	edx, edx
	je	.L4
	test	rax, rax
	je	.L16
.L4:
	mov	eax, DWORD PTR MNT_WRITE_HOLD[rip]
	or	eax, DWORD PTR MNT_MARKED[rip]
	lea	rdi, 4[r14]
	or	eax, DWORD PTR MNT_INTERNAL[rip]
	not	eax
	and	eax, DWORD PTR 40[rbp]
	mov	DWORD PTR 40[r12], eax
	call	atomic_inc@PLT
	mov	QWORD PTR 48[r12], r14
	mov	rdi, r13
	call	dget@PLT
	mov	QWORD PTR 32[r12], r12
	mov	DWORD PTR 44[r12], eax
	mov	DWORD PTR 56[r12], eax
	xor	eax, eax
	call	lock_mount_hash@PLT
	lea	rdi, 28[r12]
	mov	rsi, r14
	call	list_add_tail@PLT
	xor	eax, eax
	call	unlock_mount_hash@PLT
	test	DWORD PTR CL_SLAVE[rip], ebx
	jne	.L8
	test	DWORD PTR CL_SHARED_TO_SLAVE[rip], ebx
	jne	.L38
.L7:
	test	DWORD PTR CL_PRIVATE[rip], ebx
	jne	.L9
	test	DWORD PTR CL_MAKE_SHARED[rip], ebx
	je	.L10
.L12:
	lea	rsi, 20[rbp]
	lea	rdi, 20[r12]
	call	list_add@PLT
.L11:
	mov	rdi, rbp
	call	IS_MNT_SLAVE@PLT
	test	rax, rax
	jne	.L39
.L13:
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 8[r12], rax
.L6:
	test	DWORD PTR CL_MAKE_SHARED[rip], ebx
	jne	.L40
.L14:
	test	DWORD PTR CL_EXPIRE[rip], ebx
	jne	.L41
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	QWORD PTR 64[r12], 0
	test	edx, edx
	je	.L4
.L16:
	mov	rdi, r12
	call	mnt_alloc_group_id@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L4
	mov	rdi, r12
	call	mnt_free_id@PLT
	mov	rdi, r12
	call	free_vfsmnt@PLT
	mov	edi, r15d
.L36:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	mov	rdi, rbp
	call	IS_MNT_SHARED@PLT
	test	rax, rax
	je	.L7
.L8:
	lea	rdi, 16[r12]
	lea	rsi, 24[rbp]
	call	list_add@PLT
	mov	QWORD PTR 8[r12], rbp
	mov	rdi, r12
	call	CLEAR_MNT_SHARED@PLT
	test	DWORD PTR CL_MAKE_SHARED[rip], ebx
	je	.L14
.L40:
	mov	rdi, r12
	call	set_mnt_shared@PLT
	test	DWORD PTR CL_EXPIRE[rip], ebx
	je	.L1
.L41:
	mov	rdi, rbp
	call	list_empty@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, rbp
	mov	rdi, r12
	call	list_add@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	IS_MNT_SHARED@PLT
	test	rax, rax
	jne	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r12
	call	CLEAR_MNT_SHARED@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rsi, 16[rbp]
	lea	rdi, 16[r12]
	call	list_add@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	clone_mnt, .-clone_mnt
	.comm	MNT_WRITE_HOLD,4,4
	.comm	MNT_MARKED,4,4
	.comm	MNT_INTERNAL,4,4
	.comm	ENOMEM,4,4
	.comm	CL_SLAVE,4,4
	.comm	CL_SHARED_TO_SLAVE,4,4
	.comm	CL_PRIVATE,4,4
	.comm	CL_MAKE_SHARED,4,4
	.comm	CL_EXPIRE,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_clone_mnt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clone_mnt, %function
clone_mnt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #48]
	mov	r7, r1
	mov	r6, r2
	ldr	r8, [r5, #36]
	bl	alloc_vfsmnt
	subs	r4, r0, #0
	beq	.L38
	ldr	r10, .L43
	ldr	r2, .L43+4
	ldr	fp, .L43+8
	ldr	r3, [r10]
	ldr	r0, [r2]
	ldr	r1, [fp]
	ldr	r9, .L43+12
	orr	r3, r3, r0
	orr	r3, r3, r1
	ldr	r1, [r9]
	tst	r3, r6
	and	r3, r6, r1
	bne	.L3
	ldr	r1, [r5, #44]
	cmp	r3, #0
	str	r1, [r4, #44]
	beq	.L4
	cmp	r1, #0
	beq	.L16
.L4:
	ldr	r3, .L43+16
	ldr	r1, .L43+20
	ldr	r0, .L43+24
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r0, [r0]
	orr	r3, r3, r1
	ldr	r1, [r5, #28]
	orr	r3, r3, r0
	bic	r3, r1, r3
	str	r3, [r4, #28]
	add	r0, r8, #4
	bl	atomic_inc
	mov	r0, r7
	str	r8, [r4, #36]
	bl	dget
	str	r4, [r4, #24]
	str	r0, [r4, #32]
	str	r0, [r4, #40]
	bl	lock_mount_hash
	mov	r1, r8
	add	r0, r4, #20
	bl	list_add_tail
	bl	unlock_mount_hash
	ldr	r3, [r10]
	ldr	r2, .L43+4
	tst	r6, r3
	bne	.L8
	ldr	r3, [fp]
	tst	r6, r3
	bne	.L39
.L7:
	ldr	r3, [r2]
	tst	r6, r3
	bne	.L9
	ldr	r3, [r9]
	tst	r6, r3
	beq	.L10
.L12:
	add	r1, r5, #12
	add	r0, r4, #12
	bl	list_add
.L11:
	mov	r0, r5
	bl	IS_MNT_SLAVE
	cmp	r0, #0
	bne	.L40
.L13:
	ldr	r3, [r5, #4]
	str	r3, [r4, #4]
.L6:
	ldr	r3, [r9]
	tst	r6, r3
	bne	.L41
.L14:
	ldr	r3, .L43+28
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L42
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	mov	r1, #0
	cmp	r3, r1
	str	r1, [r4, #44]
	beq	.L4
.L16:
	mov	r0, r4
	bl	mnt_alloc_group_id
	subs	r3, r0, #0
	beq	.L4
	mov	r0, r4
	str	r3, [sp, #4]
	bl	mnt_free_id
	mov	r0, r4
	bl	free_vfsmnt
	ldr	r3, [sp, #4]
	mov	r0, r3
	b	.L36
.L39:
	mov	r0, r5
	bl	IS_MNT_SHARED
	cmp	r0, #0
	ldr	r2, .L43+4
	beq	.L7
.L8:
	add	r1, r5, #16
	add	r0, r4, #8
	bl	list_add
	mov	r0, r4
	str	r5, [r4, #4]
	bl	CLEAR_MNT_SHARED
	ldr	r3, [r9]
	tst	r6, r3
	beq	.L14
.L41:
	mov	r0, r4
	bl	set_mnt_shared
	ldr	r3, .L43+28
	ldr	r3, [r3]
	tst	r6, r3
	beq	.L1
.L42:
	mov	r0, r5
	bl	list_empty
	cmp	r0, #0
	bne	.L1
	mov	r1, r5
	mov	r0, r4
	bl	list_add
	b	.L1
.L10:
	mov	r0, r5
	bl	IS_MNT_SHARED
	cmp	r0, #0
	bne	.L12
	b	.L11
.L9:
	mov	r0, r4
	bl	CLEAR_MNT_SHARED
	b	.L6
.L40:
	add	r1, r5, #8
	add	r0, r4, #8
	bl	list_add
	b	.L13
.L38:
	ldr	r3, .L43+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L36:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ERR_PTR
.L44:
	.align	2
.L43:
	.word	CL_SLAVE
	.word	CL_PRIVATE
	.word	CL_SHARED_TO_SLAVE
	.word	CL_MAKE_SHARED
	.word	MNT_WRITE_HOLD
	.word	MNT_MARKED
	.word	MNT_INTERNAL
	.word	CL_EXPIRE
	.word	ENOMEM
	.size	clone_mnt, .-clone_mnt
	.comm	MNT_WRITE_HOLD,4,4
	.comm	MNT_MARKED,4,4
	.comm	MNT_INTERNAL,4,4
	.comm	ENOMEM,4,4
	.comm	CL_SLAVE,4,4
	.comm	CL_SHARED_TO_SLAVE,4,4
	.comm	CL_PRIVATE,4,4
	.comm	CL_MAKE_SHARED,4,4
	.comm	CL_EXPIRE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
