	.file	"extr_xattr.c_ocfs2_get_xattr_tree_value_root.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_get_xattr_tree_value_root, @function
ocfs2_get_xattr_tree_value_root:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movsx	rbx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR [rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	bucket_xh@PLT
	mov	rdi, r13
	mov	r14, QWORD PTR [rax]
	call	bucket_xh@PLT
	mov	rdi, r12
	lea	rcx, 16[rsp]
	mov	edx, ebx
	mov	rsi, rax
	lea	r8, 20[rsp]
	call	ocfs2_xattr_bucket_get_name_value@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, r13
	call	bucket_block@PLT
	mov	edi, DWORD PTR [r14+rbx*4]
	movsx	r15, DWORD PTR 20[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	OCFS2_XATTR_SIZE@PLT
	cdqe
	add	r15, rax
	mov	rax, QWORD PTR [rsp]
	add	r15, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], r15
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR 0[r13]
	movsx	rdx, DWORD PTR 16[rsp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR 0[rbp], rax
.L3:
	endbr64
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	edi, eax
	call	mlog_errno@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_get_xattr_tree_value_root, .-ocfs2_get_xattr_tree_value_root
	.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_xattr.c_ocfs2_get_xattr_tree_value_root.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_get_xattr_tree_value_root, %function
ocfs2_get_xattr_tree_value_root:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	ldr	r3, .L12
	sub	sp, sp, #24
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [sp, #56]
	bl	bucket_xh
	mov	r3, r0
	mov	r0, r4
	ldr	r9, [r3]
	bl	bucket_xh
	add	r3, sp, #16
	mov	r1, r0
	str	r3, [sp]
	mov	r0, r5
	mov	r2, r8
	add	r3, sp, #12
	bl	ocfs2_xattr_bucket_get_name_value
	subs	r10, r0, #0
	bne	.L10
	ldr	r1, [sp, #12]
	mov	r0, r4
	bl	bucket_block
	mov	r5, r0
	ldr	r0, [r9, r8, lsl #2]
	bl	OCFS2_XATTR_SIZE
	ldr	r3, [sp, #16]
	cmp	r7, #0
	add	r0, r0, r3
	ldrne	r2, [sp, #12]
	ldrne	r3, [r4]
	add	r5, r5, r0
	ldrne	r3, [r3, r2, lsl #2]
	str	r5, [r6]
	strne	r3, [r7]
.L3:
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	bl	mlog_errno
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	ocfs2_get_xattr_tree_value_root, .-ocfs2_get_xattr_tree_value_root
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
