	.file	"extr_zfs_ioctl.c_zfs_secpolicy_userspace_many.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zfs_secpolicy_userspace_many, @function
zfs_secpolicy_userspace_many:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	zfs_secpolicy_read@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR ZFS_NUM_USERQUOTA_PROPS[rip]
	jnb	.L6
	mov	rdx, QWORD PTR userquota_perms[rip]
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rdx+rax*4]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	zfs_secpolicy_write_perms@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	SET_ERROR@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zfs_secpolicy_userspace_many, .-zfs_secpolicy_userspace_many
	.comm	userquota_perms,8,8
	.comm	ZFS_NUM_USERQUOTA_PROPS,8,8
	.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_zfs_ioctl.c_zfs_secpolicy_userspace_many.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_secpolicy_userspace_many, %function
zfs_secpolicy_userspace_many:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r2
	bl	zfs_secpolicy_read
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r2, .L7
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	bcs	.L6
	ldr	r1, .L7+4
	mov	r2, r5
	ldr	r1, [r1]
	ldr	r0, [r4, #4]
	ldr	r1, [r1, r3, lsl #2]
	pop	{r4, r5, r6, lr}
	b	zfs_secpolicy_write_perms
.L6:
	ldr	r3, .L7+8
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	SET_ERROR
.L8:
	.align	2
.L7:
	.word	ZFS_NUM_USERQUOTA_PROPS
	.word	userquota_perms
	.word	EINVAL
	.size	zfs_secpolicy_userspace_many, .-zfs_secpolicy_userspace_many
	.comm	userquota_perms,4,4
	.comm	ZFS_NUM_USERQUOTA_PROPS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
