	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_mnttab_find             ## -- Begin function libzfs_mnttab_find
	.p2align	4, 0x90
_libzfs_mnttab_find:                    ## @libzfs_mnttab_find
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_ENOENT@GOTPCREL(%rip), %r13
	cmpl	$0, 12(%rdi)
	je	LBB0_1
## %bb.5:
	movl	(%r13), %r15d
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	leaq	4(%rbx), %r13
	movq	%r13, %rdi
	callq	_avl_numnodes
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_libzfs_mnttab_update
LBB0_7:
	movq	%r12, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_avl_find
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movups	(%rax), %xmm0
	movups	%xmm0, (%r14)
	xorl	%r15d, %r15d
LBB0_9:
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	jmp	LBB0_10
LBB0_1:
	movq	$0, -48(%rbp)
	leaq	4(%rbx), %rdi
	callq	_avl_numnodes
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_libzfs_mnttab_fini
LBB0_3:
	movl	8(%rbx), %edi
	callq	_rewind
	movq	%r12, -56(%rbp)
	movq	_MNTTYPE_ZFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	8(%rbx), %edi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rsi
	callq	_getmntany
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movl	(%r13), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_MNTTYPE_ZFS,4,2                ## @MNTTYPE_ZFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_mnttab_find             ; -- Begin function libzfs_mnttab_find
	.p2align	2
_libzfs_mnttab_find:                    ; @libzfs_mnttab_find
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _ENOENT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	w21, [x21]
	mov	x0, x19
	bl	_pthread_mutex_lock
	add	x23, x19, #4
	mov	x0, x23
	bl	_avl_numnodes
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_libzfs_mnttab_update
LBB0_3:
	str	x22, [sp]
	mov	x1, sp
	mov	x0, x23
	mov	x2, #0
	bl	_avl_find
	cbz	x0, LBB0_5
; %bb.4:
	mov	w21, #0
	ldr	q0, [x0]
	str	q0, [x20]
LBB0_5:
	mov	x0, x19
	bl	_pthread_mutex_unlock
	b	LBB0_9
LBB0_6:
	str	xzr, [sp, #8]
	add	x0, x19, #4
	bl	_avl_numnodes
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_libzfs_mnttab_fini
LBB0_8:
	ldr	w0, [x19, #8]
	bl	_rewind
	str	x22, [sp]
Lloh2:
	adrp	x8, _MNTTYPE_ZFS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MNTTYPE_ZFS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [x19, #8]
	mov	x2, sp
	mov	x1, x20
	bl	_getmntany
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w21, wzr, w8, eq
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_MNTTYPE_ZFS,4,2                ; @MNTTYPE_ZFS
.subsections_via_symbols
