	.file	"extr_zfs_acl.c_zfs_acl_next_ace.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zfs_acl_next_ace, @function
zfs_acl_next_ace:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], rdx
	call	ASSERT@PLT
	test	rbp, rbp
	je	.L17
	mov	rbp, QWORD PTR 16[rbx]
	test	rbp, rbp
	je	.L6
	mov	rax, QWORD PTR 0[rbp]
.L5:
	cmp	QWORD PTR 8[rbp], rax
	jle	.L7
	mov	r12, QWORD PTR [rbx]
.L8:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, r12
	call	[QWORD PTR [rax]]
	mov	QWORD PTR 8[rsp], rax
	lea	rcx, [r12+rax]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, QWORD PTR 24[rbp]
	cmp	rcx, rax
	ja	.L6
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, r12
	call	[QWORD PTR 32[rax]]
	mov	rdi, r12
	mov	DWORD PTR [r15], eax
	mov	rax, QWORD PTR 8[rbx]
	call	[QWORD PTR 24[rax]]
	mov	rdi, r12
	mov	DWORD PTR [r14], eax
	mov	rax, QWORD PTR 8[rbx]
	call	[QWORD PTR 16[rax]]
	mov	rdi, r12
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[rbx]
	call	[QWORD PTR 8[rax]]
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rsi], eax
	add	QWORD PTR [rbx], rdx
	add	QWORD PTR 0[rbp], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, rbp
	lea	rdi, 24[rbx]
	call	list_next@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	r12, QWORD PTR 24[rax]
	cmp	QWORD PTR 8[rax], 0
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR [rbx], r12
	jg	.L8
.L6:
	xor	r12d, r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	lea	rdi, 24[rbx]
	call	list_head@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rbx], rbp
	mov	QWORD PTR [rbx], rax
	xor	eax, eax
	mov	QWORD PTR 0[rbp], 0
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	zfs_acl_next_ace, .-zfs_acl_next_ace
	.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_acl_next_ace.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_acl_next_ace, %function
zfs_acl_next_ace:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r7, r2
	mov	r8, r3
	mov	r5, r0
	bl	ASSERT
	cmp	r6, #0
	beq	.L17
	ldr	r4, [r5, #8]
	cmp	r4, #0
	beq	.L6
	ldr	r2, [r4]
.L5:
	ldr	r3, [r4, #4]
	cmp	r3, r2
	ble	.L7
	ldr	r6, [r5]
.L8:
	ldr	r3, [r5, #4]
	mov	r0, r6
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #8]
	add	r2, r6, r0
	add	r3, r3, r1
	cmp	r2, r3
	mov	r9, r0
	bhi	.L6
	ldr	r3, [r5, #4]
	mov	r0, r6
	ldr	r3, [r3, #16]
	blx	r3
	ldr	r3, [r5, #4]
	ldr	r2, [sp, #32]
	ldr	r3, [r3, #12]
	str	r0, [r2]
	mov	r0, r6
	blx	r3
	ldr	r2, [sp, #36]
	ldr	r3, [r5, #4]
	str	r0, [r2]
	ldr	r3, [r3, #8]
	mov	r0, r6
	blx	r3
	ldr	r3, [r5, #4]
	str	r0, [r8]
	ldr	r3, [r3, #4]
	mov	r0, r6
	blx	r3
	ldr	r2, [r5]
	ldr	r3, [r4]
	add	r9, r2, r9
	add	r3, r3, #1
	str	r0, [r7]
	str	r9, [r5]
	mov	r0, r6
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r1, r4
	add	r0, r5, #12
	bl	list_next
	subs	r4, r0, #0
	beq	.L6
	mov	r3, #0
	ldr	r2, [r4, #4]
	ldr	r6, [r4, #12]
	cmp	r2, r3
	str	r4, [r5, #8]
	str	r3, [r4]
	str	r6, [r5]
	bgt	.L8
.L6:
	mov	r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	add	r0, r5, #12
	bl	list_head
	subs	r4, r0, #0
	beq	.L6
	ldr	r3, [r4, #12]
	mov	r2, r6
	str	r4, [r5, #8]
	str	r3, [r5]
	str	r6, [r4]
	b	.L5
	.size	zfs_acl_next_ace, .-zfs_acl_next_ace
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
