	.file	"extr_zpool_main.c_zpool_do_events.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid option '%c'\n"
.LC1:
	.string	"vHfc"
.LC2:
	.string	"too many arguments\n"
.LC3:
	.string	"invalid pool name '%s'\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"invalid options combined with -c\n"
	.text
	.p2align 4
	.globl	zpool_do_events
	.type	zpool_do_events, @function
zpool_do_events:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdx, r12
	mov	rsi, rbp
	mov	edi, ebx
	call	getopt@PLT
	cmp	eax, -1
	je	.L22
	cmp	eax, 99
	je	.L3
	jg	.L4
	cmp	eax, 63
	je	.L5
	cmp	eax, 72
	jne	.L19
	mov	DWORD PTR 4[rsp], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	eax, 102
	je	.L8
	cmp	eax, 118
	jne	.L19
	mov	DWORD PTR [rsp], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR 12[rsp], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR 8[rsp], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r13d, DWORD PTR optopt[rip]
	lea	rdi, .LC0[rip]
	call	gettext@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edx, r13d
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, DWORD PTR B_FALSE[rip]
	call	usage@PLT
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rax, QWORD PTR optind[rip]
	sub	ebx, eax
	cmp	ebx, 1
	jg	.L23
	je	.L24
	cmp	QWORD PTR [rsp], 0
	je	.L25
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L26
.L15:
	mov	rdi, rsp
	call	zpool_do_events_next@PLT
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	mov	ecx, DWORD PTR 8[rsp]
	test	ecx, ecx
	jne	.L13
.L14:
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	je	.L15
	mov	rdi, rsp
	call	zpool_do_events_clear@PLT
	jmp	.L1
.L23:
	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
	cmp	QWORD PTR [rsp], 0
	jne	.L13
	jmp	.L25
.L26:
	lea	rdi, .LC4[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
	jmp	.L14
.L24:
	mov	rsi, QWORD PTR 0[rbp+rax*8]
	mov	rdi, QWORD PTR 16[rsp]
	mov	edx, 8
	call	strlcpy@PLT
	mov	esi, DWORD PTR ZFS_TYPE_POOL[rip]
	mov	rdi, QWORD PTR 16[rsp]
	call	zfs_name_valid@PLT
	test	eax, eax
	jne	.L13
	mov	r12, QWORD PTR 16[rsp]
	lea	rdi, .LC3[rip]
	call	gettext@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, rax
	mov	rdx, r12
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, DWORD PTR B_FALSE[rip]
	call	usage@PLT
	jmp	.L13
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpool_do_events, .-zpool_do_events
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,8,8
	.comm	ZFS_TYPE_POOL,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_events.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid option '%c'\012\000"
	.align	2
.LC1:
	.ascii	"vHfc\000"
	.align	2
.LC2:
	.ascii	"too many arguments\012\000"
	.align	2
.LC3:
	.ascii	"invalid pool name '%s'\012\000"
	.align	2
.LC4:
	.ascii	"invalid options combined with -c\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zpool_do_events
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpool_do_events, %function
zpool_do_events:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L31
	sub	sp, sp, #36
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	mov	r4, r0
	mov	r5, r1
	mov	r7, #1
	ldr	r6, .L31+4
	ldr	fp, .L31+8
	ldr	r10, .L31+12
	ldr	r9, .L31+16
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	b	.L21
.L26:
	cmp	r0, #63
	beq	.L5
	cmp	r0, #72
	streq	r7, [sp, #8]
.L21:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	getopt
	cmn	r0, #1
	beq	.L25
	cmp	r0, #99
	streq	r7, [sp, #16]
	beq	.L21
	ble	.L26
	cmp	r0, #102
	streq	r7, [sp, #12]
	beq	.L21
	cmp	r0, #118
	streq	r7, [sp, #4]
	b	.L21
.L5:
	mov	r0, r10
	ldr	r8, [fp]
	bl	gettext
	ldr	r2, [r9]
	mov	r1, r0
	mov	r0, r8
	bl	fprintf
	ldr	r3, .L31+20
	ldr	r0, [r3]
	bl	usage
	b	.L21
.L25:
	ldr	r3, .L31+24
	ldr	r3, [r3]
	sub	r4, r4, r3
	cmp	r4, #1
	bgt	.L27
	beq	.L28
.L12:
	ldr	r3, [sp, #4]
	ldr	r1, [sp, #8]
	ldr	r2, [sp, #12]
	orr	r3, r3, r1
	orrs	r3, r3, r2
	beq	.L14
.L13:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	bne	.L29
.L15:
	add	r0, sp, #4
	bl	zpool_do_events_next
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	ldr	r3, .L31+8
	ldr	r0, .L31+28
	ldr	r4, [r3]
	bl	gettext
	mov	r1, r0
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L31+20
	ldr	r0, [r3]
	bl	usage
.L14:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L15
	add	r0, sp, #4
	bl	zpool_do_events_clear
	b	.L1
.L27:
	ldr	r3, .L31+8
	ldr	r0, .L31+32
	ldr	r4, [r3]
	bl	gettext
	mov	r1, r0
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L31+20
	ldr	r0, [r3]
	bl	usage
	b	.L12
.L28:
	ldr	r1, [r5, r3, lsl #2]
	mov	r2, #4
	ldr	r0, [sp, #20]
	bl	strlcpy
	ldr	r3, .L31+36
	ldr	r0, [sp, #20]
	ldr	r1, [r3]
	bl	zfs_name_valid
	cmp	r0, #0
	bne	.L13
	ldr	r3, .L31+8
	ldr	r0, .L31+40
	ldr	r4, [r3]
	bl	gettext
	ldr	r2, [sp, #20]
	mov	r1, r0
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L31+20
	ldr	r0, [r3]
	bl	usage
	b	.L13
.L30:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC5
	.word	.LC1
	.word	stderr
	.word	.LC0
	.word	optopt
	.word	B_FALSE
	.word	optind
	.word	.LC4
	.word	.LC2
	.word	ZFS_TYPE_POOL
	.word	.LC3
	.size	zpool_do_events, .-zpool_do_events
	.comm	stderr,4,4
	.comm	optopt,4,4
	.comm	optind,4,4
	.comm	ZFS_TYPE_POOL,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
