	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_vdev_online              ## -- Begin function zpool_vdev_online
	.p2align	4, 0x90
_zpool_vdev_online:                     ## @zpool_vdev_online
	.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	$1112, %rsp                     ## imm = 0x458
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -1128(%rbp)               ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -1120(%rbp)
	movq	$0, -1104(%rbp)
	movq	8(%rdi), %r15
	movq	_ZFS_ONLINE_EXPAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_dgettext
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	movl	(%r14), %esi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-1144(%rbp), %rdx
	leaq	-1136(%rbp), %rcx
	leaq	-1152(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_zpool_find_vdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	_ZPOOL_CONFIG_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1112(%rbp), %rdx
	movq	%r13, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	cmpq	$0, -1144(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_EZFS_ISSPARE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EZFS_NODEVICE@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%r15, %rdi
	callq	_zfs_error
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.17:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ZFS_ONLINE_EXPAND@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_ZPOOL_PROP_AUTOEXPAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_zpool_get_prop_int
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:
	movq	_ZPOOL_CONFIG_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1088(%rbp), %rdx
	movq	%r13, %rdi
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	movq	_VDEV_STATE_ONLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1116(%rbp)
	movl	%r12d, -1120(%rbp)
	movq	_ZFS_IOC_VDEV_SET_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1120(%rbp), %rdx
	movq	%r15, %rdi
	callq	_zfs_ioctl
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_EINVAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_14
## %bb.13:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dgettext
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_zfs_error_aux
	movq	_EZFS_POSTSPLIT_ONLINE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	$0, -1080(%rbp)
	movq	_ZPOOL_CONFIG_WHOLE_DISK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1080(%rbp), %rdx
	movq	%r13, %rdi
	callq	_nvlist_lookup_uint64
	cmpq	$0, -1136(%rbp)
	je	LBB0_9
## %bb.18:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dgettext
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_zfs_error_aux
	movq	_EZFS_VDEVNOTSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_15:
	movl	-1116(%rbp), %eax
	movq	-1128(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_14:
	leaq	-1072(%rbp), %rdx
	movq	%r15, %rdi
	callq	_zpool_standard_error
	jmp	LBB0_16
LBB0_9:
	cmpq	$0, -1080(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_ZFS_DISK_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strlen
	movq	-1088(%rbp), %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	movq	%rsi, -1088(%rbp)
	movq	%r15, %rdi
	callq	_zpool_relabel_disk
	jmp	LBB0_11
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_ONLINE_EXPAND,4,2          ## @ZFS_ONLINE_EXPAND
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot expand %s"

L_.str.1:                               ## @.str.1
	.asciz	"cannot online %s"

	.comm	_EZFS_NODEVICE,4,2              ## @EZFS_NODEVICE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ## @ZPOOL_CONFIG_GUID
	.comm	_EZFS_ISSPARE,4,2               ## @EZFS_ISSPARE
	.comm	_ZPOOL_PROP_AUTOEXPAND,4,2      ## @ZPOOL_PROP_AUTOEXPAND
	.comm	_ZPOOL_CONFIG_PATH,4,2          ## @ZPOOL_CONFIG_PATH
	.comm	_ZPOOL_CONFIG_WHOLE_DISK,4,2    ## @ZPOOL_CONFIG_WHOLE_DISK
L_.str.2:                               ## @.str.2
	.asciz	"cannot expand cache devices"

	.comm	_EZFS_VDEVNOTSUP,4,2            ## @EZFS_VDEVNOTSUP
	.comm	_ZFS_DISK_ROOT,4,2              ## @ZFS_DISK_ROOT
	.comm	_VDEV_STATE_ONLINE,4,2          ## @VDEV_STATE_ONLINE
	.comm	_ZFS_IOC_VDEV_SET_STATE,4,2     ## @ZFS_IOC_VDEV_SET_STATE
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"was split from this pool into a new one.  Use '%s' instead"

L_.str.4:                               ## @.str.4
	.asciz	"zpool detach"

	.comm	_EZFS_POSTSPLIT_ONLINE,4,2      ## @EZFS_POSTSPLIT_ONLINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_vdev_online              ; -- Begin function zpool_vdev_online
	.p2align	2
_zpool_vdev_online:                     ; @zpool_vdev_online
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #1104
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [sp, #48]
	str	xzr, [sp, #64]
	ldr	x19, [x0, #8]
Lloh3:
	adrp	x25, _ZFS_ONLINE_EXPAND@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ZFS_ONLINE_EXPAND@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh5:
	adrp	x24, _TEXT_DOMAIN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TEXT_DOMAIN@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh7:
	adrp	x9, l_.str@PAGE
Lloh8:
	add	x9, x9, l_.str@PAGEOFF
Lloh9:
	adrp	x10, l_.str.1@PAGE
Lloh10:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, w2
	csel	x1, x10, x9, eq
	bl	_dgettext
	mov	x2, x0
	add	x0, sp, #72
	mov	w1, #1024
	mov	x3, x23
	bl	_snprintf
	ldr	w1, [x22]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x22
	mov	x1, x23
	bl	_zpool_find_vdev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
Lloh11:
	adrp	x8, _ZPOOL_CONFIG_GUID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZPOOL_CONFIG_GUID@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x8, sp, #48
	add	x2, x8, #8
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_7
; %bb.2:
Lloh14:
	adrp	x8, _EZFS_ISSPARE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EZFS_ISSPARE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _EZFS_NODEVICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EZFS_NODEVICE@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	add	x2, sp, #72
	mov	x0, x19
	bl	_zfs_error
LBB0_5:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.6:
	add	sp, sp, #1104
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x25]
	tst	w8, w21
	b.ne	LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _ZPOOL_PROP_AUTOEXPAND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ZPOOL_PROP_AUTOEXPAND@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, #0
	bl	_zpool_get_prop_int
	cbz	x0, LBB0_10
LBB0_9:
Lloh24:
	adrp	x8, _ZPOOL_CONFIG_PATH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ZPOOL_CONFIG_PATH@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x23
	bl	_nvlist_lookup_string
	cbz	x0, LBB0_13
LBB0_10:
Lloh27:
	adrp	x8, _VDEV_STATE_ONLINE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VDEV_STATE_ONLINE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #48]
Lloh30:
	adrp	x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	add	x2, sp, #48
	mov	x0, x19
	bl	_zfs_ioctl
	cbz	x0, LBB0_15
; %bb.11:
Lloh33:
	adrp	x8, _errno@GOTPAGE
Lloh34:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_16
; %bb.12:
	ldr	w0, [x24]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dgettext
	mov	x1, x0
Lloh41:
	adrp	x8, l_.str.4@PAGE
Lloh42:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [sp]
	mov	x0, x19
	bl	_zfs_error_aux
Lloh43:
	adrp	x8, _EZFS_POSTSPLIT_ONLINE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EZFS_POSTSPLIT_ONLINE@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	str	xzr, [sp, #8]
Lloh45:
	adrp	x8, _ZPOOL_CONFIG_WHOLE_DISK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ZPOOL_CONFIG_WHOLE_DISK@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x23
	bl	_nvlist_lookup_uint64
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	w0, [x24]
Lloh48:
	adrp	x1, l_.str.2@PAGE
Lloh49:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x19
	bl	_zfs_error_aux
Lloh50:
	adrp	x8, _EZFS_VDEVNOTSUP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EZFS_VDEVNOTSUP@GOTPAGEOFF]
	b	LBB0_4
LBB0_15:
	ldr	w8, [sp, #52]
	str	w8, [x20]
	b	LBB0_5
LBB0_16:
	add	x2, sp, #72
	mov	x0, x19
	bl	_zpool_standard_error
	b	LBB0_5
LBB0_17:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
; %bb.18:
Lloh52:
	adrp	x8, _ZFS_DISK_ROOT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ZFS_DISK_ROOT@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_strlen
	ldr	x8, [sp, #40]
	add	x8, x0, x8
	add	x1, x8, #1
	str	x1, [sp, #40]
	mov	x0, x19
	bl	_zpool_relabel_disk
	b	LBB0_10
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_ONLINE_EXPAND,4,2          ; @ZFS_ONLINE_EXPAND
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot expand %s"

l_.str.1:                               ; @.str.1
	.asciz	"cannot online %s"

	.comm	_EZFS_NODEVICE,4,2              ; @EZFS_NODEVICE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ; @ZPOOL_CONFIG_GUID
	.comm	_EZFS_ISSPARE,4,2               ; @EZFS_ISSPARE
	.comm	_ZPOOL_PROP_AUTOEXPAND,4,2      ; @ZPOOL_PROP_AUTOEXPAND
	.comm	_ZPOOL_CONFIG_PATH,4,2          ; @ZPOOL_CONFIG_PATH
	.comm	_ZPOOL_CONFIG_WHOLE_DISK,4,2    ; @ZPOOL_CONFIG_WHOLE_DISK
l_.str.2:                               ; @.str.2
	.asciz	"cannot expand cache devices"

	.comm	_EZFS_VDEVNOTSUP,4,2            ; @EZFS_VDEVNOTSUP
	.comm	_ZFS_DISK_ROOT,4,2              ; @ZFS_DISK_ROOT
	.comm	_VDEV_STATE_ONLINE,4,2          ; @VDEV_STATE_ONLINE
	.comm	_ZFS_IOC_VDEV_SET_STATE,4,2     ; @ZFS_IOC_VDEV_SET_STATE
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"was split from this pool into a new one.  Use '%s' instead"

l_.str.4:                               ; @.str.4
	.asciz	"zpool detach"

	.comm	_EZFS_POSTSPLIT_ONLINE,4,2      ; @EZFS_POSTSPLIT_ONLINE
.subsections_via_symbols
