	.file	"extr_zfs_acl.c_zfs_has_access.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfs_has_access
	.type	zfs_has_access, @function
zfs_has_access:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rcx, r12
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR B_TRUE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR ACE_ALL_PERMS[rip]
	lea	rsi, 4[rsp]
	mov	DWORD PTR 4[rsp], eax
	call	zfs_zaccess_aces_check@PLT
	mov	r8, rax
	mov	eax, DWORD PTR B_TRUE[rip]
	test	r8, r8
	jne	.L8
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r14d, DWORD PTR ZFS_OWNER[rip]
	call	ZTOI@PLT
	mov	edi, DWORD PTR [rax]
	call	KUID_TO_SUID@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	ZTOZSB@PLT
	mov	esi, r13d
	mov	ecx, r14d
	mov	rdx, r12
	mov	edi, eax
	call	zfs_fuid_map_id@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	ZTOI@PLT
	mov	edx, r13d
	mov	rdi, r12
	mov	rsi, rax
	call	secpolicy_vnode_any_access@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_has_access, .-zfs_has_access
	.comm	ZFS_OWNER,4,4
	.comm	B_TRUE,4,4
	.comm	ACE_ALL_PERMS,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_acl.c_zfs_has_access.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zfs_has_access
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_has_access, %function
zfs_has_access:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L9
	ldr	r5, .L9+4
	sub	sp, sp, #8
	ldr	ip, [r3]
	ldr	lr, .L9+8
	mov	r3, r1
	mov	r4, r1
	ldr	r2, [r5]
	mov	r1, sp
	ldr	lr, [lr]
	str	lr, [sp, #4]
	mov	lr,#0
	mov	r6, r0
	str	ip, [sp]
	bl	zfs_zaccess_aces_check
	cmp	r0, #0
	ldreq	r0, [r5]
	bne	.L7
.L1:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r6
	bl	ZTOZSB
	mov	r5, r0
	mov	r0, r6
	bl	ZTOI
	ldr	r0, [r0]
	bl	KUID_TO_SUID
	ldr	r3, .L9+12
	mov	r1, r0
	mov	r2, r4
	ldr	r3, [r3]
	mov	r0, r5
	bl	zfs_fuid_map_id
	mov	r5, r0
	mov	r0, r6
	bl	ZTOI
	mov	r2, r5
	mov	r1, r0
	mov	r0, r4
	bl	secpolicy_vnode_any_access
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	ACE_ALL_PERMS
	.word	B_TRUE
	.word	.LC0
	.word	ZFS_OWNER
	.size	zfs_has_access, .-zfs_has_access
	.comm	ZFS_OWNER,4,4
	.comm	B_TRUE,4,4
	.comm	ACE_ALL_PERMS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
