	.file	"extr_zpl_xattr.c_zpl_xattr_get_dir.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zpl_xattr_get_dir, @function
zpl_xattr_get_dir:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r9d, r9d
	mov	r13, rsi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, r8
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR LOOKUP_XATTR[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 8[rsp]
	mov	DWORD PTR 4[rsp], 0
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR 24[rsp], 0
	push	0
	.cfi_def_cfa_offset 96
	call	zfs_lookup@PLT
	pop	rdi
	.cfi_def_cfa_offset 88
	pop	r8
	.cfi_def_cfa_offset 80
	test	eax, eax
	je	.L2
.L17:
	neg	eax
	mov	r12d, eax
.L3:
	mov	rdi, QWORD PTR 16[rsp]
	test	rdi, rdi
	je	.L7
	call	iput@PLT
.L7:
	mov	rdi, QWORD PTR 8[rsp]
	test	rdi, rdi
	je	.L1
	call	iput@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdx, 16[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	ecx, ecx
	mov	rsi, r13
	push	0
	.cfi_def_cfa_offset 96
	mov	rdi, QWORD PTR 24[rsp]
	xor	r9d, r9d
	mov	r8, rbx
	call	zfs_lookup@PLT
	pop	rcx
	.cfi_def_cfa_offset 88
	pop	rsi
	.cfi_def_cfa_offset 80
	test	eax, eax
	jne	.L17
	mov	rdi, QWORD PTR 16[rsp]
	test	r12, r12
	je	.L20
	call	i_size_read@PLT
	cmp	rax, r12
	jbe	.L6
	mov	r12d, DWORD PTR ERANGE[rip]
	neg	r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rcx, 4[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r12
	xor	r9d, r9d
	push	rbx
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR UIO_SYSSPACE[rip]
	mov	rsi, rbp
	mov	rdi, QWORD PTR 32[rsp]
	call	zpl_read_common@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	call	i_size_read@PLT
	mov	r12d, eax
	jmp	.L3
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpl_xattr_get_dir, .-zpl_xattr_get_dir
	.comm	UIO_SYSSPACE,4,4
	.comm	LOOKUP_XATTR,4,4
	.comm	ERANGE,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_zpl_xattr.c_zpl_xattr_get_dir.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpl_xattr_get_dir, %function
zpl_xattr_get_dir:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #32
	ldr	r7, [sp, #56]
	mov	r5, r3
	ldr	r3, .L21
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	r7, [sp]
	ldr	lr, .L21+4
	ldr	r3, [r3]
	mov	r4, r1
	mov	r6, r2
	mov	r1, ip
	add	r2, sp, #16
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	bl	zfs_lookup
	subs	r3, r0, #0
	beq	.L2
.L17:
	rsb	r4, r3, #0
.L3:
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L7
	bl	iput
.L7:
	ldr	r0, [sp, #16]
	cmp	r0, #0
	beq	.L1
	bl	iput
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, r4
	ldr	r0, [sp, #16]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r7, [sp]
	add	r2, sp, #20
	bl	zfs_lookup
	subs	r4, r0, #0
	rsbne	r4, r4, #0
	bne	.L3
	cmp	r5, #0
	ldr	r0, [sp, #20]
	beq	.L20
	bl	i_size_read
	cmp	r0, r5
	ldrhi	r3, .L21+8
	ldrhi	r3, [r3]
	bhi	.L17
.L6:
	ldr	r3, .L21+12
	str	r7, [sp, #8]
	ldr	r3, [r3]
	mov	r2, r5
	str	r4, [sp, #4]
	str	r3, [sp]
	mov	r1, r6
	ldr	r0, [sp, #20]
	add	r3, sp, #24
	bl	zpl_read_common
	mov	r4, r0
	b	.L3
.L20:
	bl	i_size_read
	mov	r4, r0
	b	.L3
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	LOOKUP_XATTR
	.word	.LC0
	.word	ERANGE
	.word	UIO_SYSSPACE
	.size	zpl_xattr_get_dir, .-zpl_xattr_get_dir
	.comm	UIO_SYSSPACE,4,4
	.comm	LOOKUP_XATTR,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
