	.file	"extr_libzfs_dataset.c_zfs_set_fsacl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cannot set permissions on '%s'"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"pool must be upgraded"
	.text
	.p2align 4
	.globl	zfs_set_fsacl
	.type	zfs_set_fsacl, @function
zfs_set_fsacl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 1088
	.cfi_def_cfa_offset 1136
	mov	r14, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1080[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR ZFS_TYPE_VOLUME[rip]
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	mov	edi, 1
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR ZFS_TYPE_FILESYSTEM[rip], rax
	sete	dil
.L2:
	call	assert@PLT
	lea	r13, 8[rsp]
	mov	edx, DWORD PTR NV_ENCODE_NATIVE[rip]
	mov	rdi, r12
	mov	rsi, r13
	call	nvlist_size@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	malloc@PLT
	xor	r8d, r8d
	mov	rsi, rsp
	mov	rdx, r13
	mov	ecx, DWORD PTR NV_ENCODE_NATIVE[rip]
	mov	rdi, r12
	mov	QWORD PTR [rsp], rax
	call	nvlist_pack@PLT
	xor	edi, edi
	test	eax, eax
	mov	r12d, eax
	sete	dil
	call	assert@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 32[rsp]
	mov	DWORD PTR 36[rsp], ebp
	mov	rax, QWORD PTR 8[rsp]
	mov	edx, 4
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 24[rsp], rax
	call	strlcpy@PLT
	mov	esi, DWORD PTR ZFS_IOC_SET_FSACL[rip]
	lea	rdx, 16[rsp]
	mov	rdi, r14
	call	zfs_ioctl@PLT
	test	rax, rax
	jne	.L15
.L3:
	mov	rdi, QWORD PTR [rsp]
	call	free@PLT
	mov	rax, QWORD PTR 1080[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 1088
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	mov	r13d, DWORD PTR 32[rsp]
	lea	r12, 48[rsp]
	lea	rsi, .LC0[rip]
	call	dgettext@PLT
	mov	esi, 1024
	mov	ecx, r13d
	mov	rdi, r12
	mov	rdx, rax
	call	snprintf@PLT
	mov	esi, DWORD PTR errno[rip]
	cmp	esi, 129
	je	.L4
	cmp	esi, 130
	je	.L5
	cmp	esi, 128
	je	.L17
	mov	rdx, r12
	mov	rdi, r14
	call	zfs_standard_error_fmt@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR EZFS_NOENT[rip]
	mov	rdx, r12
	mov	rdi, r14
	call	zfs_error@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR TEXT_DOMAIN[rip]
	lea	rsi, .LC1[rip]
	call	dgettext@PLT
	mov	rdi, r14
	mov	rsi, rax
	call	zfs_error_aux@PLT
	mov	esi, DWORD PTR EZFS_BADVERSION[rip]
	mov	rdx, r12
	mov	rdi, r14
	call	zfs_error@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR EZFS_BADTYPE[rip]
	mov	rdx, r12
	mov	rdi, r14
	call	zfs_error@PLT
	mov	r12d, eax
	jmp	.L3
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_set_fsacl, .-zfs_set_fsacl
	.comm	errno,4,4
	.comm	ZFS_TYPE_VOLUME,8,8
	.comm	ZFS_TYPE_FILESYSTEM,8,8
	.comm	ZFS_IOC_SET_FSACL,4,4
	.comm	TEXT_DOMAIN,4,4
	.comm	NV_ENCODE_NATIVE,4,4
	.comm	EZFS_NOENT,4,4
	.comm	EZFS_BADVERSION,4,4
	.comm	EZFS_BADTYPE,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_dataset.c_zfs_set_fsacl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot set permissions on '%s'\000"
	.align	2
.LC1:
	.ascii	"pool must be upgraded\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zfs_set_fsacl
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_set_fsacl, %function
zfs_set_fsacl:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r3, #0
	ldr	r0, .L18
	ldr	ip, [r4]
	ldr	r0, [r0]
	mov	r5, r2
	ldr	r2, .L18+4
	sub	sp, sp, #1072
	cmp	ip, r0
	ldr	r2, [r2]
	str	r2, [sp, #1068]
	mov	r2,#0
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	str	r3, [sp, #36]
	str	r3, [sp, #40]
	str	r3, [sp, #24]
	ldrne	r3, .L18+8
	ldr	r8, .L18+12
	ldrne	r0, [r3]
	moveq	r0, #1
	subne	r0, r0, ip
	clzne	r0, r0
	add	r3, sp, #20
	lsrne	r0, r0, #5
	str	r3, [sp, #12]
	mov	r6, r1
	ldr	r7, [r4, #8]
	bl	assert
	ldr	r1, [sp, #12]
	ldr	r2, [r8]
	mov	r0, r5
	bl	nvlist_size
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [sp, #20]
	bl	malloc
	mov	r1, #0
	mov	ip, r0
	ldr	r3, [r8]
	ldr	r2, [sp, #12]
	mov	r0, r5
	str	r1, [sp]
	add	r1, sp, #16
	str	ip, [sp, #16]
	bl	nvlist_pack
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	ip, [sp, #20]
	ldr	r3, [sp, #16]
	mov	r2, #4
	ldr	r1, [r4, #4]
	ldr	r0, [sp, #32]
	str	ip, [sp, #24]
	str	r3, [sp, #28]
	str	r6, [sp, #36]
	bl	strlcpy
	ldr	r3, .L18+16
	mov	r0, r7
	ldr	r1, [r3]
	add	r2, sp, #24
	bl	zfs_ioctl
	cmp	r0, #0
	bne	.L15
.L3:
	ldr	r0, [sp, #16]
	bl	free
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #1068]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #1072
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	ldr	r4, .L18+20
	ldr	r1, .L18+24
	ldr	r0, [r4]
	bl	dgettext
	mov	r1, #1024
	mov	r2, r0
	ldr	r3, [sp, #32]
	add	r0, sp, #44
	bl	snprintf
	ldr	r3, .L18+28
	ldr	r1, [r3]
	cmp	r1, #129
	beq	.L4
	cmp	r1, #130
	beq	.L5
	cmp	r1, #128
	beq	.L17
	mov	r0, r7
	add	r2, sp, #44
	bl	zfs_standard_error_fmt
	mov	r5, r0
	b	.L3
.L4:
	ldr	r3, .L18+32
.L13:
	mov	r0, r7
	ldr	r1, [r3]
	add	r2, sp, #44
	bl	zfs_error
	mov	r5, r0
	b	.L3
.L17:
	ldr	r1, .L18+36
	ldr	r0, [r4]
	bl	dgettext
	mov	r1, r0
	mov	r0, r7
	bl	zfs_error_aux
	ldr	r3, .L18+40
	b	.L13
.L5:
	ldr	r3, .L18+44
	b	.L13
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	ZFS_TYPE_VOLUME
	.word	.LC2
	.word	ZFS_TYPE_FILESYSTEM
	.word	NV_ENCODE_NATIVE
	.word	ZFS_IOC_SET_FSACL
	.word	TEXT_DOMAIN
	.word	.LC0
	.word	errno
	.word	EZFS_NOENT
	.word	.LC1
	.word	EZFS_BADVERSION
	.word	EZFS_BADTYPE
	.size	zfs_set_fsacl, .-zfs_set_fsacl
	.comm	errno,4,4
	.comm	ZFS_TYPE_VOLUME,4,4
	.comm	ZFS_TYPE_FILESYSTEM,4,4
	.comm	ZFS_IOC_SET_FSACL,4,4
	.comm	TEXT_DOMAIN,4,4
	.comm	NV_ENCODE_NATIVE,4,4
	.comm	EZFS_NOENT,4,4
	.comm	EZFS_BADVERSION,4,4
	.comm	EZFS_BADTYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
