	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_import
_do_import:                             ## @do_import
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_ZPOOL_CONFIG_POOL_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_nvlist_lookup_string
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	_ZPOOL_CONFIG_POOL_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	_ZPOOL_CONFIG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-96(%rbp), %rdi
	callq	_SPA_VERSION_IS_SUPPORTED
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	-104(%rbp), %rax
	movq	_POOL_STATE_EXPORTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:
	movq	_ZFS_IMPORT_ANY_HOST@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_7
LBB0_3:
	movq	_g_zfs@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_zpool_import_props
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.4:
	testq	%r12, %r12
	je	LBB0_9
## %bb.5:
	movq	%r12, -48(%rbp)
	jmp	LBB0_10
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_gettext
	movq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
LBB0_7:
	movq	_ZPOOL_CONFIG_HOSTID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_gettext
	movq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %ebx
	jmp	LBB0_16
LBB0_9:
	movq	-48(%rbp), %r12
LBB0_10:
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_zpool_open_canfail
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_zpool_get_state
	movq	_POOL_STATE_UNAVAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movq	_ZFS_IMPORT_ONLY@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_19
LBB0_13:
	movq	%r12, %rdi
	callq	_zpool_close
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_14:
	movq	-56(%rbp), %r14
	xorl	%eax, %eax
	callq	_gethostid
	cmpq	%rax, %r14
	je	LBB0_3
## %bb.15:
	movq	_ZPOOL_CONFIG_HOSTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_string
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	_ZPOOL_CONFIG_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-80(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext
	movq	%rax, %rbx
	movq	-48(%rbp), %r15
	movq	-88(%rbp), %r12
	movq	-56(%rbp), %r13
	leaq	-72(%rbp), %rdi
	callq	_localtime
	movl	%eax, %edi
	callq	_asctime
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_fprintf
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_17:
	movl	$1, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_zpool_enable_datasets
	testq	%rax, %rax
	je	LBB0_13
## %bb.20:
	movq	%r12, %rdi
	callq	_zpool_close
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_POOL_NAME,4,2     ## @ZPOOL_CONFIG_POOL_NAME
	.comm	_ZPOOL_CONFIG_POOL_STATE,4,2    ## @ZPOOL_CONFIG_POOL_STATE
	.comm	_ZPOOL_CONFIG_VERSION,4,2       ## @ZPOOL_CONFIG_VERSION
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot import '%s': pool is formatted using an unsupported ZFS version\n"

	.comm	_POOL_STATE_EXPORTED,8,3        ## @POOL_STATE_EXPORTED
	.comm	_ZFS_IMPORT_ANY_HOST,4,2        ## @ZFS_IMPORT_ANY_HOST
	.comm	_ZPOOL_CONFIG_HOSTID,4,2        ## @ZPOOL_CONFIG_HOSTID
	.comm	_ZPOOL_CONFIG_HOSTNAME,4,2      ## @ZPOOL_CONFIG_HOSTNAME
	.comm	_ZPOOL_CONFIG_TIMESTAMP,4,2     ## @ZPOOL_CONFIG_TIMESTAMP
L_.str.1:                               ## @.str.1
	.asciz	"cannot import '%s': pool may be in use from other system, it was last accessed by %s (hostid: 0x%lx) on %s"

L_.str.2:                               ## @.str.2
	.asciz	"use '-f' to import anyway\n"

L_.str.3:                               ## @.str.3
	.asciz	"cannot import '%s': pool may be in use from other system\n"

	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_POOL_STATE_UNAVAIL,8,3         ## @POOL_STATE_UNAVAIL
	.comm	_ZFS_IMPORT_ONLY,4,2            ## @ZFS_IMPORT_ONLY
	.no_dead_strip	_do_import
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_import
_do_import:                             ; @do_import
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_POOL_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_POOL_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #56
	bl	_nvlist_lookup_string
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
Lloh3:
	adrp	x8, _ZPOOL_CONFIG_POOL_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZPOOL_CONFIG_POOL_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #64
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
Lloh6:
	adrp	x8, _ZPOOL_CONFIG_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ZPOOL_CONFIG_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #72
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x0, [sp, #72]
	bl	_SPA_VERSION_IS_SUPPORTED
	cbz	w0, LBB0_6
; %bb.1:
	ldur	x8, [x29, #-64]
Lloh9:
	adrp	x9, _POOL_STATE_EXPORTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POOL_STATE_EXPORTED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _ZFS_IMPORT_ANY_HOST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZFS_IMPORT_ANY_HOST@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
LBB0_3:
Lloh15:
	adrp	x24, _g_zfs@GOTPAGE
Lloh16:
	ldr	x24, [x24, _g_zfs@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x20
	bl	_zpool_import_props
	cbnz	x0, LBB0_18
; %bb.4:
	cbz	x21, LBB0_9
; %bb.5:
	stur	x21, [x29, #-56]
	b	LBB0_10
LBB0_6:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext
	mov	x1, x0
	ldur	x8, [x29, #-56]
	str	x8, [sp]
	b	LBB0_17
LBB0_7:
Lloh22:
	adrp	x8, _ZPOOL_CONFIG_HOSTID@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZPOOL_CONFIG_HOSTID@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, sp, #64
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cbz	x0, LBB0_14
; %bb.8:
Lloh25:
	adrp	x20, _stderr@GOTPAGE
Lloh26:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_gettext
	mov	x1, x0
	ldur	x8, [x29, #-56]
	str	x8, [sp]
	mov	x0, x19
	bl	_fprintf
	ldr	w19, [x20]
	b	LBB0_16
LBB0_9:
	ldur	x21, [x29, #-56]
LBB0_10:
	ldr	w0, [x24]
	mov	x1, x21
	bl	_zpool_open_canfail
	cbz	x0, LBB0_18
; %bb.11:
	mov	x21, x0
	bl	_zpool_get_state
Lloh29:
	adrp	x8, _POOL_STATE_UNAVAIL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _POOL_STATE_UNAVAIL@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
Lloh32:
	adrp	x8, _ZFS_IMPORT_ONLY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ZFS_IMPORT_ONLY@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
LBB0_13:
	mov	x0, x21
	bl	_zpool_close
	mov	w0, #0
	b	LBB0_19
LBB0_14:
	ldr	x24, [sp, #64]
	bl	_gethostid
	cmp	x24, x0
	b.eq	LBB0_3
; %bb.15:
Lloh35:
	adrp	x8, _ZPOOL_CONFIG_HOSTNAME@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ZPOOL_CONFIG_HOSTNAME@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	add	x2, sp, #56
	mov	x0, x22
	bl	_nvlist_lookup_string
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
Lloh38:
	adrp	x8, _ZPOOL_CONFIG_TIMESTAMP@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ZPOOL_CONFIG_TIMESTAMP@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	add	x2, sp, #48
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x8, [sp, #48]
	str	x8, [sp, #40]
Lloh41:
	adrp	x21, _stderr@GOTPAGE
Lloh42:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh43:
	adrp	x0, l_.str.1@PAGE
Lloh44:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext
	mov	x20, x0
	ldur	x22, [x29, #-56]
	ldp	x23, x24, [sp, #56]
	add	x0, sp, #40
	bl	_localtime
	bl	_asctime
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #16]
	stp	x22, x23, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	ldr	w19, [x21]
LBB0_16:
Lloh45:
	adrp	x0, l_.str.2@PAGE
Lloh46:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext
	mov	x1, x0
LBB0_17:
	mov	x0, x19
	bl	_fprintf
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_20:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_zpool_enable_datasets
	cbz	x0, LBB0_13
; %bb.21:
	mov	x0, x21
	bl	_zpool_close
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_POOL_NAME,4,2     ; @ZPOOL_CONFIG_POOL_NAME
	.comm	_ZPOOL_CONFIG_POOL_STATE,4,2    ; @ZPOOL_CONFIG_POOL_STATE
	.comm	_ZPOOL_CONFIG_VERSION,4,2       ; @ZPOOL_CONFIG_VERSION
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot import '%s': pool is formatted using an unsupported ZFS version\n"

	.comm	_POOL_STATE_EXPORTED,8,3        ; @POOL_STATE_EXPORTED
	.comm	_ZFS_IMPORT_ANY_HOST,4,2        ; @ZFS_IMPORT_ANY_HOST
	.comm	_ZPOOL_CONFIG_HOSTID,4,2        ; @ZPOOL_CONFIG_HOSTID
	.comm	_ZPOOL_CONFIG_HOSTNAME,4,2      ; @ZPOOL_CONFIG_HOSTNAME
	.comm	_ZPOOL_CONFIG_TIMESTAMP,4,2     ; @ZPOOL_CONFIG_TIMESTAMP
l_.str.1:                               ; @.str.1
	.asciz	"cannot import '%s': pool may be in use from other system, it was last accessed by %s (hostid: 0x%lx) on %s"

l_.str.2:                               ; @.str.2
	.asciz	"use '-f' to import anyway\n"

l_.str.3:                               ; @.str.3
	.asciz	"cannot import '%s': pool may be in use from other system\n"

	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_POOL_STATE_UNAVAIL,8,3         ; @POOL_STATE_UNAVAIL
	.comm	_ZFS_IMPORT_ONLY,4,2            ; @ZFS_IMPORT_ONLY
	.no_dead_strip	_do_import
.subsections_via_symbols
