	.file	"extr_subr_acl_nfs4.c__acl_duplicate_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"aclp->acl_cnt + 1 <= ACL_MAX_ENTRIES"
	.text
	.p2align 4
	.type	_acl_duplicate_entry, @function
_acl_duplicate_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movsx	rbx, esi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR ACL_MAX_ENTRIES[rip]
	cmp	DWORD PTR [rdi], eax
	setl	dil
	movzx	edi, dil
	call	KASSERT@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 8[rbp]
	cmp	esi, ebx
	jle	.L4
	movsx	rdx, esi
	sal	rdx, 2
	lea	rcx, -4[rdi+rdx]
	lea	rax, [rdi+rdx]
	mov	edx, ebx
	not	edx
	add	edx, esi
	sal	rdx, 2
	sub	rcx, rdx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR -4[rax]
	sub	rax, 4
	mov	DWORD PTR 4[rax], edx
	cmp	rax, rcx
	jne	.L3
.L4:
	add	esi, 1
	lea	rax, 4[rdi+rbx*4]
	mov	DWORD PTR 0[rbp], esi
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_acl_duplicate_entry, .-_acl_duplicate_entry
	.comm	ACL_MAX_ENTRIES,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_subr_acl_nfs4.c__acl_duplicate_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"aclp->acl_cnt + 1 <= ACL_MAX_ENTRIES\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_acl_duplicate_entry, %function
_acl_duplicate_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r3, .L8
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	r1, .L8+4
	cmp	r0, r3
	movge	r0, #0
	movlt	r0, #1
	bl	KASSERT
	ldr	r1, [r5]
	ldr	r0, [r5, #4]
	cmp	r1, r4
	ble	.L4
	add	r3, r0, r1, lsl #2
	add	ip, r0, r4, lsl #2
.L3:
	ldr	r2, [r3, #-4]
	str	r2, [r3], #-4
	cmp	ip, r3
	bne	.L3
.L4:
	add	r1, r1, #1
	add	r4, r4, #1
	str	r1, [r5]
	add	r0, r0, r4, lsl #2
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	ACL_MAX_ENTRIES
	.word	.LC0
	.size	_acl_duplicate_entry, .-_acl_duplicate_entry
	.comm	ACL_MAX_ENTRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
