	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_do_online                ## -- Begin function zpool_do_online
	.p2align	4, 0x90
_zpool_do_online:                       ## @zpool_do_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r12d
	leaq	L_.str(%rip), %r15
	movq	_optopt@GOTPCREL(%rip), %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, %eax
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext
	movl	(%r13), %edx
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$100, %eax
	jg	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$63, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_1
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$101, %eax
	jne	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_ZFS_ONLINE_EXPAND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r12d
	leaq	(%rbx,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.10:
	cmpl	$1, %r12d
	je	LBB0_11
	jmp	LBB0_12
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_zpool_open
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %r15
	xorl	%ebx, %ebx
	cmpl	$2, %r12d
	jl	LBB0_21
## %bb.15:
	movl	%r12d, %r12d
	movl	$1, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r14d, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r13
	movl	%ebx, %r14d
	cmpq	%r13, %r12
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rsi
	movq	%r15, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	leaq	-64(%rbp), %rcx
	callq	_zpool_vdev_online
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-64(%rbp), %rax
	movq	_VDEV_STATE_HEALTHY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	_gettext
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-64(%rbp), %rax
	movq	_VDEV_STATE_FAULTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %rdi
	callq	_gettext
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_19
LBB0_21:
	movq	%r15, %rdi
	callq	_zpool_close
	jmp	LBB0_22
LBB0_13:
	movl	$1, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"et"

	.comm	_ZFS_ONLINE_EXPAND,4,2          ## @ZFS_ONLINE_EXPAND
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"missing pool name\n"

L_.str.3:                               ## @.str.3
	.asciz	"missing device name\n"

	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_VDEV_STATE_HEALTHY,8,3         ## @VDEV_STATE_HEALTHY
L_.str.4:                               ## @.str.4
	.asciz	"warning: device '%s' onlined, but remains in faulted state\n"

	.comm	_VDEV_STATE_FAULTED,8,3         ## @VDEV_STATE_FAULTED
L_.str.5:                               ## @.str.5
	.asciz	"use 'zpool clear' to restore a faulted device\n"

L_.str.6:                               ## @.str.6
	.asciz	"use 'zpool replace' to replace devices that are no longer present\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_do_online                ; -- Begin function zpool_do_online
	.p2align	2
_zpool_do_online:                       ; @zpool_do_online
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	mov	w19, #0
Lloh0:
	adrp	x26, _stderr@GOTPAGE
Lloh1:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _optopt@GOTPAGE
Lloh5:
	ldr	x27, [x27, _optopt@GOTPAGEOFF]
Lloh6:
	adrp	x25, _B_FALSE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _B_FALSE@GOTPAGEOFF]
Lloh8:
	adrp	x28, _ZFS_ONLINE_EXPAND@GOTPAGE
Lloh9:
	ldr	x28, [x28, _ZFS_ONLINE_EXPAND@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #116
	b.ne	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x26]
	mov	x0, x23
	bl	_gettext
	mov	x1, x0
	ldr	w8, [x27]
	str	x8, [sp]
	mov	x0, x24
	bl	_fprintf
	ldr	w0, [x25]
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	cmp	w0, #100
	b.gt	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #63
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.ne	LBB0_3
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #101
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	orr	w19, w8, w19
	b	LBB0_3
LBB0_8:
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh14:
	ldr	x23, [x8]
	sub	w24, w21, w23
	cmp	w24, #0
	b.le	LBB0_10
; %bb.9:
	cmp	w24, #1
	b.eq	LBB0_11
	b	LBB0_12
LBB0_10:
	ldr	w21, [x26]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x21
	bl	_fprintf
	ldr	w0, [x25]
	bl	_usage
LBB0_11:
	ldr	w21, [x26]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x21
	bl	_fprintf
	ldr	w0, [x25]
	bl	_usage
LBB0_12:
	ldr	x1, [x20, x23, lsl #3]
Lloh19:
	adrp	x8, _g_zfs@GOTPAGE
Lloh20:
	ldr	x8, [x8, _g_zfs@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_zpool_open
	cbz	x0, LBB0_20
; %bb.13:
	mov	x21, x0
	cmp	w24, #2
	b.lt	LBB0_21
; %bb.14:
	mov	w22, #0
	add	x8, x20, x23, lsl #3
	add	x23, x8, #8
	sub	x24, x24, #1
Lloh22:
	adrp	x25, _VDEV_STATE_HEALTHY@GOTPAGE
Lloh23:
	ldr	x25, [x25, _VDEV_STATE_HEALTHY@GOTPAGEOFF]
Lloh24:
	adrp	x20, l_.str.4@PAGE
Lloh25:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh26:
	adrp	x26, _VDEV_STATE_FAULTED@GOTPAGE
Lloh27:
	ldr	x26, [x26, _VDEV_STATE_FAULTED@GOTPAGEOFF]
Lloh28:
	adrp	x27, l_.str.6@PAGE
Lloh29:
	add	x27, x27, l_.str.6@PAGEOFF
Lloh30:
	adrp	x28, l_.str.5@PAGE
Lloh31:
	add	x28, x28, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w22, #1
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x23, x23, #8
	subs	x24, x24, #1
	b.eq	LBB0_22
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x19
	bl	_zpool_vdev_online
	cbnz	x0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	bl	_gettext
	ldr	x8, [x23]
	str	x8, [sp]
	bl	_printf
	ldr	x8, [sp, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	csel	x0, x28, x27, eq
	bl	_gettext
	bl	_printf
	b	LBB0_16
LBB0_20:
	mov	w22, #1
	b	LBB0_23
LBB0_21:
	mov	w22, #0
LBB0_22:
	mov	x0, x21
	bl	_zpool_close
LBB0_23:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"et"

	.comm	_ZFS_ONLINE_EXPAND,4,2          ; @ZFS_ONLINE_EXPAND
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"missing pool name\n"

l_.str.3:                               ; @.str.3
	.asciz	"missing device name\n"

	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_VDEV_STATE_HEALTHY,8,3         ; @VDEV_STATE_HEALTHY
l_.str.4:                               ; @.str.4
	.asciz	"warning: device '%s' onlined, but remains in faulted state\n"

	.comm	_VDEV_STATE_FAULTED,8,3         ; @VDEV_STATE_FAULTED
l_.str.5:                               ; @.str.5
	.asciz	"use 'zpool clear' to restore a faulted device\n"

l_.str.6:                               ; @.str.6
	.asciz	"use 'zpool replace' to replace devices that are no longer present\n"

.subsections_via_symbols
