	.file	"extr_zpool_main.c_zpool_do_offline.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid option '%c'\n"
.LC1:
	.string	"ft"
.LC2:
	.string	"missing pool name\n"
.LC3:
	.string	"missing device name\n"
	.text
	.p2align 4
	.globl	zpool_do_offline
	.type	zpool_do_offline, @function
zpool_do_offline:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR B_FALSE[rip]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r12
	mov	rsi, rbx
	mov	edi, ebp
	call	getopt@PLT
	cmp	eax, -1
	je	.L36
	cmp	eax, 102
	je	.L3
	cmp	eax, 116
	je	.L4
	cmp	eax, 63
	jne	.L2
.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
.L4:
	mov	r13d, DWORD PTR B_TRUE[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rax, QWORD PTR optind[rip]
	sub	ebp, eax
	lea	r14, [rbx+rax*8]
	test	ebp, ebp
	jle	.L37
	cmp	ebp, 1
	je	.L8
	mov	rsi, QWORD PTR [r14]
	mov	edi, DWORD PTR g_zfs[rip]
	call	zpool_open@PLT
	mov	r15, rax
	test	rax, rax
	je	.L13
	mov	ebx, 1
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR [r14+rbx*8]
	mov	edx, r13d
	mov	rdi, r15
	call	zpool_vdev_offline@PLT
	test	rax, rax
	mov	eax, 1
	cmovne	r12d, eax
	add	rbx, 1
	cmp	ebp, ebx
	jg	.L12
.L14:
	mov	rdi, r15
	call	zpool_close@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L37:
	.cfi_restore_state
	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
.L8:
	lea	rdi, .LC3[rip]
	xor	r12d, r12d
	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 [r14]
	mov	edi, DWORD PTR g_zfs[rip]
	call	zpool_open@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L14
.L13:
	mov	r12d, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	zpool_do_offline, .-zpool_do_offline
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,8,8
	.comm	g_zfs,4,4
	.comm	B_TRUE,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
	.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_offline.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid option '%c'\012\000"
	.align	2
.LC1:
	.ascii	"ft\000"
	.align	2
.LC2:
	.ascii	"missing pool name\012\000"
	.align	2
.LC3:
	.ascii	"missing device name\012\000"
	.text
	.align	2
	.global	zpool_do_offline
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpool_do_offline, %function
zpool_do_offline:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r8, .L39
	ldr	r7, .L39+4
	ldr	r6, [r8]
	ldr	fp, .L39+8
	ldr	r10, .L39+12
.L2:
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	bl	getopt
	cmn	r0, #1
	beq	.L37
	cmp	r0, #102
	beq	.L3
	cmp	r0, #116
	beq	.L4
	cmp	r0, #63
	bne	.L2
.L3:
	mov	r0, r10
	ldr	r9, [fp]
	bl	gettext
	ldr	r3, .L39+16
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r9
	bl	fprintf
	ldr	r0, [r8]
	bl	usage
	b	.L2
.L4:
	ldr	r3, .L39+20
	ldr	r6, [r3]
	b	.L2
.L37:
	ldr	r3, .L39+24
	ldr	r9, [r3]
	sub	r4, r4, r9
	cmp	r4, #0
	add	r7, r5, r9, lsl #2
	ble	.L38
	cmp	r4, #1
	ldreq	r4, .L39+8
	beq	.L8
	ldr	r3, .L39+28
	ldr	r1, [r5, r9, lsl #2]
	ldr	r0, [r3]
	bl	zpool_open
	subs	r9, r0, #0
	movne	r8, #0
	movne	r5, #1
	beq	.L13
.L12:
	mov	r2, r6
	mov	r0, r9
	ldr	r1, [r7, #4]!
	bl	zpool_vdev_offline
	add	r5, r5, #1
	cmp	r0, #0
	movne	r8, #1
	cmp	r4, r5
	bgt	.L12
.L15:
	mov	r0, r9
	bl	zpool_close
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	ldr	r4, .L39+8
	ldr	r0, .L39+32
	ldr	r6, [r4]
	bl	gettext
	mov	r1, r0
	mov	r0, r6
	bl	fprintf
	ldr	r0, [r8]
	bl	usage
.L8:
	ldr	r0, .L39+36
	ldr	r4, [r4]
	bl	gettext
	mov	r1, r0
	mov	r0, r4
	bl	fprintf
	ldr	r0, [r8]
	bl	usage
	ldr	r3, .L39+28
	ldr	r1, [r5, r9, lsl #2]
	ldr	r0, [r3]
	bl	zpool_open
	subs	r9, r0, #0
	movne	r8, #0
	bne	.L15
.L13:
	mov	r8, #1
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L40:
	.align	2
.L39:
	.word	B_FALSE
	.word	.LC1
	.word	stderr
	.word	.LC0
	.word	optopt
	.word	B_TRUE
	.word	optind
	.word	g_zfs
	.word	.LC2
	.word	.LC3
	.size	zpool_do_offline, .-zpool_do_offline
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,4,4
	.comm	g_zfs,4,4
	.comm	B_TRUE,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
