	.file	"extr_zpool_main.c_zpool_do_online.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid option '%c'\n"
.LC1:
	.string	"e"
.LC2:
	.string	"missing pool name\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"warning: device '%s' onlined, but remains in faulted state\n"
	.align 8
.LC4:
	.string	"use 'zpool clear' to restore a faulted device\n"
	.align 8
.LC5:
	.string	"use 'zpool replace' to replace devices that are no longer present\n"
	.section	.rodata.str1.1
.LC6:
	.string	"missing device name\n"
	.text
	.p2align 4
	.globl	zpool_do_online
	.type	zpool_do_online, @function
zpool_do_online:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r13
	mov	rsi, r12
	mov	edi, ebx
	call	getopt@PLT
	cmp	eax, -1
	je	.L30
	cmp	eax, 63
	je	.L3
	cmp	eax, 101
	jne	.L2
	or	ebp, DWORD PTR ZFS_ONLINE_EXPAND[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r14d, DWORD PTR optopt[rip]
	lea	rdi, .LC0[rip]
	call	gettext@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edx, r14d
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, DWORD PTR B_FALSE[rip]
	call	usage@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rax, QWORD PTR optind[rip]
	sub	ebx, eax
	lea	r13, [r12+rax*8]
	test	ebx, ebx
	jle	.L31
	cmp	ebx, 1
	je	.L7
	mov	rsi, QWORD PTR 0[r13]
	mov	edi, DWORD PTR g_zfs[rip]
	call	zpool_open@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	mov	DWORD PTR 4[rsp], 0
	mov	r15d, 1
	lea	r14, 16[rsp]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rax, QWORD PTR VDEV_STATE_HEALTHY[rip]
	cmp	QWORD PTR 16[rsp], rax
	je	.L10
	mov	rsi, QWORD PTR 0[r13+r15*8]
	lea	rdi, .LC3[rip]
	mov	QWORD PTR 8[rsp], rsi
	call	gettext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rax
	xor	eax, eax
	call	printf@PLT
	mov	rax, QWORD PTR VDEV_STATE_FAULTED[rip]
	cmp	QWORD PTR 16[rsp], rax
	je	.L32
	lea	rdi, .LC5[rip]
	call	gettext@PLT
	mov	rdi, rax
	xor	eax, eax
	call	printf@PLT
.L10:
	add	r15, 1
	cmp	ebx, r15d
	jle	.L14
.L12:
	mov	rsi, QWORD PTR 0[r13+r15*8]
	mov	rcx, r14
	mov	edx, ebp
	mov	rdi, r12
	call	zpool_vdev_online@PLT
	test	rax, rax
	je	.L33
	add	r15, 1
	mov	DWORD PTR 4[rsp], 1
	cmp	ebx, r15d
	jg	.L12
.L14:
	mov	rdi, r12
	call	zpool_close@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L34
	mov	eax, DWORD PTR 4[rsp]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	call	gettext@PLT
	mov	rdi, rax
	xor	eax, eax
	call	printf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, .LC2[rip]
	call	gettext@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, DWORD PTR B_FALSE[rip]
	call	usage@PLT
.L7:
	lea	rdi, .LC6[rip]
	call	gettext@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, DWORD PTR B_FALSE[rip]
	call	usage@PLT
	mov	rsi, QWORD PTR 0[r13]
	mov	edi, DWORD PTR g_zfs[rip]
	call	zpool_open@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L35
.L13:
	mov	DWORD PTR 4[rsp], 1
	jmp	.L1
.L35:
	mov	DWORD PTR 4[rsp], 0
	jmp	.L14
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpool_do_online, .-zpool_do_online
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,8,8
	.comm	g_zfs,4,4
	.comm	ZFS_ONLINE_EXPAND,4,4
	.comm	VDEV_STATE_HEALTHY,8,8
	.comm	VDEV_STATE_FAULTED,8,8
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zpool_main.c_zpool_do_online.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid option '%c'\012\000"
	.align	2
.LC1:
	.ascii	"e\000"
	.align	2
.LC2:
	.ascii	"missing pool name\012\000"
	.align	2
.LC3:
	.ascii	"warning: device '%s' onlined, but remains in faulte"
	.ascii	"d state\012\000"
	.align	2
.LC4:
	.ascii	"use 'zpool clear' to restore a faulted device\012\000"
	.align	2
.LC5:
	.ascii	"use 'zpool replace' to replace devices that are no "
	.ascii	"longer present\012\000"
	.align	2
.LC6:
	.ascii	"missing device name\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zpool_do_online
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpool_do_online, %function
zpool_do_online:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L34
	sub	sp, sp, #12
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, #0
	ldr	r7, .L34+4
	ldr	fp, .L34+8
	ldr	r10, .L34+12
	ldr	r8, .L34+16
.L2:
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	bl	getopt
	cmn	r0, #1
	beq	.L31
	cmp	r0, #63
	beq	.L3
	cmp	r0, #101
	ldreq	r3, [r8]
	orreq	r6, r6, r3
	b	.L2
.L3:
	mov	r0, r10
	ldr	r9, [fp]
	bl	gettext
	ldr	r3, .L34+20
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r9
	bl	fprintf
	ldr	r3, .L34+24
	ldr	r0, [r3]
	bl	usage
	b	.L2
.L31:
	ldr	r3, .L34+28
	ldr	r8, [r3]
	sub	r4, r4, r8
	cmp	r4, #0
	add	r7, r5, r8, lsl #2
	ble	.L32
	cmp	r4, #1
	ldreq	r6, .L34+8
	ldreq	r4, .L34+24
	beq	.L7
	ldr	r3, .L34+32
	ldr	r1, [r5, r8, lsl #2]
	ldr	r0, [r3]
	bl	zpool_open
	subs	r8, r0, #0
	beq	.L13
	mov	r9, #0
	mov	r5, #1
	ldr	r10, .L34+36
	ldr	fp, .L34+40
.L12:
	mov	r3, sp
	mov	r2, r6
	mov	r0, r8
	ldr	r1, [r7, #4]!
	bl	zpool_vdev_online
	cmp	r0, #0
	movne	r9, #1
	bne	.L10
	ldr	r2, [sp]
	ldr	r3, [r10]
	cmp	r2, r3
	beq	.L10
	ldr	r0, .L34+44
	bl	gettext
	ldr	r1, [r7]
	bl	printf
	ldr	r2, [sp]
	ldr	r3, [fp]
	cmp	r2, r3
	ldreq	r0, .L34+48
	ldrne	r0, .L34+52
	bl	gettext
	bl	printf
.L10:
	add	r5, r5, #1
	cmp	r4, r5
	bgt	.L12
.L15:
	mov	r0, r8
	bl	zpool_close
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, r9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	ldr	r6, .L34+8
	ldr	r0, .L34+56
	ldr	r7, [r6]
	bl	gettext
	ldr	r4, .L34+24
	mov	r1, r0
	mov	r0, r7
	bl	fprintf
	ldr	r0, [r4]
	bl	usage
.L7:
	ldr	r0, .L34+60
	ldr	r6, [r6]
	bl	gettext
	mov	r1, r0
	mov	r0, r6
	bl	fprintf
	ldr	r0, [r4]
	bl	usage
	ldr	r3, .L34+32
	ldr	r1, [r5, r8, lsl #2]
	ldr	r0, [r3]
	bl	zpool_open
	subs	r8, r0, #0
	movne	r9, #0
	bne	.L15
.L13:
	mov	r9, #1
	b	.L1
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC7
	.word	.LC1
	.word	stderr
	.word	.LC0
	.word	ZFS_ONLINE_EXPAND
	.word	optopt
	.word	B_FALSE
	.word	optind
	.word	g_zfs
	.word	VDEV_STATE_HEALTHY
	.word	VDEV_STATE_FAULTED
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC2
	.word	.LC6
	.size	zpool_do_online, .-zpool_do_online
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,4,4
	.comm	g_zfs,4,4
	.comm	ZFS_ONLINE_EXPAND,4,4
	.comm	VDEV_STATE_HEALTHY,4,4
	.comm	VDEV_STATE_FAULTED,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
