	.file	"extr_libzfs_pool.c_zvol_check_dump_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"dump is not supported on device '%s'"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"malformed dataset name"
.LC2:
	.string	"dataset name is too long"
.LC3:
	.string	"could not open pool '%s'"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"could not obtain vdev configuration for  '%s'"
	.text
	.p2align 4
	.globl	zvol_check_dump_config
	.type	zvol_check_dump_config, @function
zvol_check_dump_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 1080
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ZFS_MAX_DATASET_NAME_LEN[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
.L4:
	mov	edi, DWORD PTR ZVOL_FULL_DEV_DIR[rip]
	mov	r15d, -1
	call	strlen@PLT
	mov	esi, DWORD PTR ZVOL_FULL_DEV_DIR[rip]
	mov	rdi, rbx
	movsx	r12, eax
	mov	edx, r12d
	call	strncmp@PLT
	test	rax, rax
	je	.L23
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -40[rbp]
	mov	eax, r15d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC0[rip]
	lea	r14, -1088[rbp]
	mov	r15d, 1
	call	dgettext@PLT
	mov	rcx, rbx
	mov	esi, 1024
	mov	rdi, r14
	mov	rdx, rax
	call	snprintf@PLT
	xor	eax, eax
	call	libzfs_init@PLT
	mov	r13, rax
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR B_TRUE[rip]
	mov	rdi, rax
	add	r12, rbx
	call	libzfs_print_on_error@PLT
	mov	esi, 47
	mov	rdi, r12
	call	strchr@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L25
	movsx	rax, DWORD PTR ZFS_MAX_DATASET_NAME_LEN[rip]
	sub	rbx, r12
	cmp	rbx, rax
	jge	.L26
	mov	rsi, r12
	mov	edx, ebx
	mov	rdi, rsp
	call	strncpy@PLT
	mov	rsi, rsp
	mov	rdi, r13
	mov	BYTE PTR [rsp+rbx], 0
	call	zpool_open@PLT
	mov	r12, rax
	test	rax, rax
	je	.L27
	xor	esi, esi
	mov	rdi, rax
	call	zpool_get_config@PLT
	mov	esi, DWORD PTR ZPOOL_CONFIG_VDEV_TREE[rip]
	lea	rdx, -1104[rbp]
	mov	rdi, rax
	call	nvlist_lookup_nvlist@PLT
	test	rax, rax
	jne	.L28
	mov	esi, DWORD PTR ZPOOL_CONFIG_CHILDREN[rip]
	mov	rdi, QWORD PTR -1104[rbp]
	lea	rcx, -1108[rbp]
	lea	rdx, -1096[rbp]
	call	nvlist_lookup_nvlist_array@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	xor	r15d, r15d
	call	verify@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdx, r14
	mov	rdi, r13
	mov	rsi, QWORD PTR [rax]
	call	supported_dump_vdev_type@PLT
	test	eax, eax
	sete	r15b
.L11:
	mov	rdi, r12
	call	zpool_close@PLT
.L9:
	mov	rdi, r13
	call	libzfs_fini@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC2[rip]
	call	dgettext@PLT
	mov	rdi, r13
	mov	rsi, rax
	xor	eax, eax
	call	zfs_error_aux@PLT
	mov	esi, DWORD PTR EZFS_NAMETOOLONG[rip]
	mov	rdx, r14
	mov	rdi, r13
	call	zfs_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC4[rip]
	call	dgettext@PLT
	mov	rdx, rsp
	mov	rdi, r13
	mov	rsi, rax
	xor	eax, eax
	call	zfs_error_aux@PLT
	mov	esi, DWORD PTR EZFS_INVALCONFIG[rip]
	mov	rdx, r14
	mov	rdi, r13
	call	zfs_error@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC3[rip]
	call	dgettext@PLT
	mov	rdx, rsp
	mov	rdi, r13
	mov	rsi, rax
	xor	eax, eax
	call	zfs_error_aux@PLT
	mov	esi, DWORD PTR EZFS_OPENFAILED[rip]
	mov	rdx, r14
	mov	rdi, r13
	call	zfs_error@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC1[rip]
	call	dgettext@PLT
	mov	rdi, r13
	mov	rsi, rax
	xor	eax, eax
	call	zfs_error_aux@PLT
	mov	esi, DWORD PTR EZFS_INVALIDNAME[rip]
	mov	rdx, r14
	mov	rdi, r13
	call	zfs_error@PLT
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zvol_check_dump_config, .-zvol_check_dump_config
	.comm	ZVOL_FULL_DEV_DIR,4,4
	.comm	ZPOOL_CONFIG_VDEV_TREE,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	TEXT_DOMAIN,4,4
	.comm	EZFS_OPENFAILED,4,4
	.comm	EZFS_NAMETOOLONG,4,4
	.comm	EZFS_INVALIDNAME,4,4
	.comm	EZFS_INVALCONFIG,4,4
	.comm	B_TRUE,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_libzfs_pool.c_zvol_check_dump_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dump is not supported on device '%s'\000"
	.align	2
.LC1:
	.ascii	"malformed dataset name\000"
	.align	2
.LC2:
	.ascii	"dataset name is too long\000"
	.align	2
.LC3:
	.ascii	"could not open pool '%s'\000"
	.align	2
.LC4:
	.ascii	"could not obtain vdev configuration for  '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zvol_check_dump_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	zvol_check_dump_config, %function
zvol_check_dump_config:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #1040
	ldr	r6, .L22
	ldr	r7, .L22+4
	ldr	r2, [r6]
	ldr	r3, .L22+8
	add	r2, r2, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	mov	r5, r0
	ldr	r0, [r7]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	strlen
	ldr	r1, [r7]
	mov	r4, r0
	mov	r2, r0
	mov	r0, r5
	bl	strncmp
	subs	r7, r0, #0
	mvnne	r4, #0
	beq	.L16
.L1:
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L16:
	ldr	r9, .L22+12
	ldr	r1, .L22+16
	ldr	r0, [r9]
	bl	dgettext
	mov	r3, r5
	mov	r2, r0
	mov	r1, #1024
	sub	r0, fp, #1056
	bl	snprintf
	bl	libzfs_init
	subs	r8, r0, #0
	beq	.L14
	ldr	r3, .L22+20
	add	r4, r5, r4
	ldr	r1, [r3]
	bl	libzfs_print_on_error
	mov	r0, r4
	mov	r1, #47
	bl	strchr
	cmp	r0, #0
	beq	.L18
	ldr	r3, [r6]
	sub	r6, r0, r4
	cmp	r6, r3
	bge	.L19
	mov	r1, r4
	mov	r2, r6
	mov	r0, sp
	bl	strncpy
	mov	r1, sp
	mov	r0, r8
	strb	r7, [sp, r6]
	bl	zpool_open
	subs	r5, r0, #0
	beq	.L20
	mov	r1, r7
	bl	zpool_get_config
	ldr	r3, .L22+24
	sub	r2, fp, #1056
	ldr	r1, [r3]
	sub	r2, r2, #12
	bl	nvlist_lookup_nvlist
	cmp	r0, #0
	bne	.L21
	ldr	r2, .L22+28
	sub	r3, fp, #1040
	ldr	r1, [r2]
	sub	r2, fp, #1040
	sub	r3, r3, #12
	sub	r2, r2, #12
	sub	r3, r3, #8
	sub	r2, r2, #12
	ldr	r0, [fp, #-1068]
	bl	nvlist_lookup_nvlist_array
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r3, [fp, #-1064]
	mov	r0, r8
	ldr	r1, [r3]
	sub	r2, fp, #1056
	bl	supported_dump_vdev_type
	clz	r4, r0
	lsr	r4, r4, #5
.L8:
	mov	r0, r5
	bl	zpool_close
.L6:
	mov	r0, r8
	bl	libzfs_fini
	b	.L1
.L19:
	ldr	r1, .L22+32
	ldr	r0, [r9]
	bl	dgettext
	mov	r1, r0
	mov	r0, r8
	bl	zfs_error_aux
	ldr	r3, .L22+36
.L13:
	mov	r0, r8
	ldr	r1, [r3]
	sub	r2, fp, #1056
	bl	zfs_error
.L14:
	mov	r4, #1
	b	.L1
.L21:
	ldr	r1, .L22+40
	ldr	r0, [r9]
	bl	dgettext
	mov	r2, sp
	mov	r1, r0
	mov	r0, r8
	bl	zfs_error_aux
	ldr	r3, .L22+44
	mov	r0, r8
	ldr	r1, [r3]
	sub	r2, fp, #1056
	bl	zfs_error
	mov	r4, #1
	b	.L8
.L20:
	ldr	r1, .L22+48
	ldr	r0, [r9]
	bl	dgettext
	mov	r2, sp
	mov	r1, r0
	mov	r0, r8
	bl	zfs_error_aux
	ldr	r3, .L22+52
	mov	r0, r8
	ldr	r1, [r3]
	sub	r2, fp, #1056
	bl	zfs_error
	mov	r4, #1
	b	.L6
.L18:
	ldr	r1, .L22+56
	ldr	r0, [r9]
	bl	dgettext
	mov	r1, r0
	mov	r0, r8
	bl	zfs_error_aux
	ldr	r3, .L22+60
	b	.L13
.L17:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	ZFS_MAX_DATASET_NAME_LEN
	.word	ZVOL_FULL_DEV_DIR
	.word	.LC5
	.word	TEXT_DOMAIN
	.word	.LC0
	.word	B_TRUE
	.word	ZPOOL_CONFIG_VDEV_TREE
	.word	ZPOOL_CONFIG_CHILDREN
	.word	.LC2
	.word	EZFS_NAMETOOLONG
	.word	.LC4
	.word	EZFS_INVALCONFIG
	.word	.LC3
	.word	EZFS_OPENFAILED
	.word	.LC1
	.word	EZFS_INVALIDNAME
	.size	zvol_check_dump_config, .-zvol_check_dump_config
	.comm	ZVOL_FULL_DEV_DIR,4,4
	.comm	ZPOOL_CONFIG_VDEV_TREE,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	TEXT_DOMAIN,4,4
	.comm	EZFS_OPENFAILED,4,4
	.comm	EZFS_NAMETOOLONG,4,4
	.comm	EZFS_INVALIDNAME,4,4
	.comm	EZFS_INVALCONFIG,4,4
	.comm	B_TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
