	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_open_canfail             ## -- Begin function zpool_open_canfail
	.p2align	4, 0x90
_zpool_open_canfail:                    ## @zpool_open_canfail
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_zpool_name_valid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_zfs_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_zpool_refresh_stats
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.5:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dgettext
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_zfs_error_aux
	movq	_EZFS_NOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_zfs_error_fmt
LBB0_6:
	movq	%rbx, %rdi
	callq	_zpool_close
	jmp	LBB0_7
LBB0_1:
	movq	_EZFS_INVALIDNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_zfs_error_fmt
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_EZFS_INVALIDNAME,4,2           ## @EZFS_INVALIDNAME
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot open '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"no such pool"

	.comm	_EZFS_NOENT,4,2                 ## @EZFS_NOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_open_canfail             ; -- Begin function zpool_open_canfail
	.p2align	2
_zpool_open_canfail:                    ; @zpool_open_canfail
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_zpool_name_valid
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x20
	mov	w1, #16
	bl	_zfs_alloc
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.2:
	str	x20, [x21, #8]
	ldr	w0, [x21]
	mov	x1, x19
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #8
	mov	x0, x21
	bl	_zpool_refresh_stats
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.4:
Lloh3:
	adrp	x23, _TEXT_DOMAIN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TEXT_DOMAIN@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x20
	bl	_zfs_error_aux
Lloh7:
	adrp	x8, _EZFS_NOENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EZFS_NOENT@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	ldr	w0, [x23]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_zfs_error_fmt
LBB0_5:
	mov	x0, x21
	bl	_zpool_close
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _EZFS_INVALIDNAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EZFS_INVALIDNAME@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_zfs_error_fmt
LBB0_7:
	mov	x21, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_EZFS_INVALIDNAME,4,2           ; @EZFS_INVALIDNAME
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot open '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"no such pool"

	.comm	_EZFS_NOENT,4,2                 ; @EZFS_NOENT
.subsections_via_symbols
