	.file	"extr_libzfs_dataset.c_libzfs_mnttab_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	libzfs_mnttab_add
	.type	libzfs_mnttab_add, @function
libzfs_mnttab_add:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	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
	lea	rbx, 4[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	pthread_mutex_lock@PLT
	mov	rdi, rbx
	call	avl_numnodes@PLT
	test	rax, rax
	je	.L5
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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	pthread_mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, 32
	call	zfs_alloc@PLT
	mov	rsi, r14
	mov	rdi, rbp
	mov	r15, rax
	call	zfs_strdup@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	QWORD PTR 24[r15], rax
	call	zfs_strdup@PLT
	mov	rsi, QWORD PTR MNTTYPE_ZFS[rip]
	mov	rdi, rbp
	mov	QWORD PTR 16[r15], rax
	call	zfs_strdup@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR 8[r15], rax
	call	zfs_strdup@PLT
	mov	rsi, r15
	mov	rdi, rbx
	mov	QWORD PTR [r15], rax
	call	avl_add@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	libzfs_mnttab_add, .-libzfs_mnttab_add
	.comm	MNTTYPE_ZFS,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_libzfs_dataset.c_libzfs_mnttab_add.c"
	.text
	.align	2
	.global	libzfs_mnttab_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	libzfs_mnttab_add, %function
libzfs_mnttab_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	add	r7, r0, #4
	mov	r8, r1
	mov	r6, r2
	mov	r5, r3
	mov	r4, r0
	bl	pthread_mutex_lock
	mov	r0, r7
	bl	avl_numnodes
	cmp	r0, #0
	beq	.L5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	pthread_mutex_unlock
.L5:
	mov	r1, #16
	mov	r0, r4
	bl	zfs_alloc
	mov	r3, r0
	mov	r1, r8
	mov	r0, r4
	mov	r8, r3
	bl	zfs_strdup
	mov	r1, r6
	str	r0, [r8, #12]
	mov	r0, r4
	bl	zfs_strdup
	ldr	r3, .L6
	str	r0, [r8, #8]
	ldr	r1, [r3]
	mov	r0, r4
	bl	zfs_strdup
	mov	r1, r5
	str	r0, [r8, #4]
	mov	r0, r4
	bl	zfs_strdup
	mov	r1, r8
	str	r0, [r8]
	mov	r0, r7
	bl	avl_add
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	pthread_mutex_unlock
.L7:
	.align	2
.L6:
	.word	MNTTYPE_ZFS
	.size	libzfs_mnttab_add, .-libzfs_mnttab_add
	.comm	MNTTYPE_ZFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
