	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_init                    ## -- Begin function libzfs_init
	.p2align	4, 0x90
_libzfs_init:                           ## @libzfs_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_libzfs_load
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	_ZFS_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	%eax, %r14d
	movq	_MNTTAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r15
	movq	_ZFS_EXPORTS_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_libzfs_core_init
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movl	%r14d, %edi
	callq	_close
	movq	%r15, %rdi
	callq	_fclose
	movq	8(%rbx), %rdi
	callq	_fclose
	jmp	LBB0_8
LBB0_7:
	movl	%r14d, %edi
	callq	_close
LBB0_8:
	movq	%rbx, %rdi
	callq	_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	callq	_zfs_prop_init
	xorl	%eax, %eax
	callq	_zpool_prop_init
	xorl	%eax, %eax
	callq	_zpool_feature_init
	movq	%rbx, %rdi
	callq	_libzfs_mnttab_init
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_DEV,4,2                    ## @ZFS_DEV
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_MNTTAB,4,2                     ## @MNTTAB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_ZFS_EXPORTS_PATH,4,2           ## @ZFS_EXPORTS_PATH
L_.str.1:                               ## @.str.1
	.asciz	"ZFS_PROP_DEBUG"

	.comm	_B_TRUE,4,2                     ## @B_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_init                    ; -- Begin function libzfs_init
	.p2align	2
_libzfs_init:                           ; @libzfs_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	bl	_libzfs_load
	tbnz	x0, #63, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _ZFS_DEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_DEV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_open
	str	w0, [x19, #24]
	tbnz	w0, #31, LBB0_7
; %bb.3:
	mov	x20, x0
Lloh6:
	adrp	x8, _MNTTAB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MNTTAB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
Lloh11:
	adrp	x8, _ZFS_EXPORTS_PATH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZFS_EXPORTS_PATH@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	str	x0, [x19, #8]
	bl	_libzfs_core_init
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_close
	mov	x0, x21
	bl	_fclose
	ldr	x0, [x19, #8]
	bl	_fclose
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_close
LBB0_7:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	_zfs_prop_init
	bl	_zpool_prop_init
	bl	_zpool_feature_init
	mov	x0, x19
	bl	_libzfs_mnttab_init
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_8
; %bb.10:
Lloh18:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_DEV,4,2                    ; @ZFS_DEV
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_MNTTAB,4,2                     ; @MNTTAB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_ZFS_EXPORTS_PATH,4,2           ; @ZFS_EXPORTS_PATH
l_.str.1:                               ; @.str.1
	.asciz	"ZFS_PROP_DEBUG"

	.comm	_B_TRUE,4,2                     ; @B_TRUE
.subsections_via_symbols
