	.file	"extr_libzfs_core.c_lzc_snaprange_space.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"firstsnap"
.LC1:
	.string	"used"
	.text
	.p2align 4
	.globl	lzc_snaprange_space
	.type	lzc_snaprange_space, @function
lzc_snaprange_space:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	push	rbx
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rbx, rdx
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ZFS_MAX_DATASET_NAME_LEN[rip]
	mov	rcx, rsp
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L4:
	mov	rsi, r13
	mov	rdi, rsp
	mov	edx, r8d
	call	strlcpy@PLT
	mov	esi, 64
	mov	rdi, rsp
	call	strchr@PLT
	test	rax, rax
	je	.L16
	mov	BYTE PTR [rax], 0
	xor	eax, eax
	call	fnvlist_alloc@PLT
	mov	rdx, r13
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	r12, rax
	call	fnvlist_add_string@PLT
	lea	rcx, -48[rbp]
	mov	rdx, r12
	mov	rsi, r14
	mov	edi, DWORD PTR ZFS_IOC_SPACE_SNAPS[rip]
	call	lzc_ioctl@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	nvlist_free@PLT
	test	r13d, r13d
	je	.L17
.L7:
	mov	rdi, QWORD PTR -48[rbp]
	call	fnvlist_free@PLT
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -32[rbp]
	mov	eax, r13d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	r13d, DWORD PTR EINVAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR -48[rbp]
	lea	rsi, .LC1[rip]
	call	fnvlist_lookup_uint64@PLT
	mov	DWORD PTR [rbx], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lzc_snaprange_space, .-lzc_snaprange_space
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	ZFS_IOC_SPACE_SNAPS,4,4
	.comm	EINVAL,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_core.c_lzc_snaprange_space.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"firstsnap\000"
	.align	2
.LC1:
	.ascii	"used\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lzc_snaprange_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	lzc_snaprange_space, %function
lzc_snaprange_space:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	ldr	r3, .L11
	mov	r6, r2
	ldr	r2, [r3]
	mov	r4, r0
	add	r3, r2, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L11+4
	mov	r5, r1
	mov	r1, r0
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	strlcpy
	mov	r0, sp
	mov	r1, #64
	bl	strchr
	cmp	r0, #0
	beq	.L8
	mov	r3, #0
	strb	r3, [r0]
	bl	fnvlist_alloc
	mov	r7, r0
	mov	r2, r4
	ldr	r1, .L11+8
	bl	fnvlist_add_string
	ldr	r3, .L11+12
	mov	r1, r5
	mov	r2, r7
	ldr	r0, [r3]
	sub	r3, fp, #28
	bl	lzc_ioctl
	mov	r4, r0
	mov	r0, r7
	bl	nvlist_free
	cmp	r4, #0
	beq	.L9
.L4:
	ldr	r0, [fp, #-28]
	bl	fnvlist_free
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L9:
	ldr	r1, .L11+16
	ldr	r0, [fp, #-28]
	bl	fnvlist_lookup_uint64
	str	r0, [r6]
	b	.L4
.L8:
	ldr	r3, .L11+20
	ldr	r4, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	ZFS_MAX_DATASET_NAME_LEN
	.word	.LC2
	.word	.LC0
	.word	ZFS_IOC_SPACE_SNAPS
	.word	.LC1
	.word	EINVAL
	.size	lzc_snaprange_space, .-lzc_snaprange_space
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	ZFS_IOC_SPACE_SNAPS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
