	.file	"extr_xattr.c_ocfs2_cp_xattr_bucket.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cp bucket %llu to %llu, target is %d\n"
	.text
	.p2align 4
	.type	ocfs2_cp_xattr_bucket, @function
ocfs2_cp_xattr_bucket:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	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, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	rdx, rcx
	sete	dil
	call	BUG_ON@PLT
	mov	r8d, ebx
	mov	rcx, r14
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	mlog@PLT
	mov	rdi, r15
	call	ocfs2_xattr_bucket_new@PLT
	mov	rdi, r15
	mov	rbp, rax
	call	ocfs2_xattr_bucket_new@PLT
	mov	r15, rax
	test	rbp, rbp
	je	.L7
	test	rax, rax
	je	.L7
	mov	rsi, r12
	mov	rdi, rbp
	call	ocfs2_read_xattr_bucket@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L4:
	mov	rdi, r15
	call	ocfs2_xattr_bucket_free@PLT
	mov	rdi, rbp
	call	ocfs2_xattr_bucket_free@PLT
	add	rsp, 8
	.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	rsi, r14
	mov	rdi, r15
	call	ocfs2_init_xattr_bucket@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	edx, DWORD PTR OCFS2_JOURNAL_ACCESS_CREATE[rip]
	test	ebx, ebx
	mov	rsi, r15
	mov	rdi, r13
	cmove	edx, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	call	ocfs2_xattr_bucket_journal_access@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	rsi, rbp
	mov	rdi, r15
	call	ocfs2_xattr_bucket_copy_data@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	ocfs2_xattr_bucket_journal_dirty@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	mov	edi, r12d
	call	mlog_errno@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ocfs2_cp_xattr_bucket, .-ocfs2_cp_xattr_bucket
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_JOURNAL_ACCESS_CREATE,4,4
	.comm	ENOMEM,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_xattr.c_ocfs2_cp_xattr_bucket.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cp bucket %llu to %llu, target is %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_cp_xattr_bucket, %function
ocfs2_cp_xattr_bucket:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r0
	sub	r0, r2, r3
	clz	r0, r0
	mov	r9, r3
	sub	sp, sp, #20
	lsr	r0, r0, #5
	mov	r4, r2
	mov	r7, r1
	ldr	r8, [sp, #48]
	bl	BUG_ON
	mov	r2, r9
	asr	r3, r9, #31
	stm	sp, {r2-r3}
	ldr	r1, .L10
	mov	r2, r4
	asr	r3, r4, #31
	mov	r0, #0
	str	r8, [sp, #8]
	bl	mlog
	mov	r0, r6
	bl	ocfs2_xattr_bucket_new
	mov	r5, r0
	mov	r0, r6
	bl	ocfs2_xattr_bucket_new
	cmp	r0, #0
	cmpne	r5, #0
	mov	r6, r0
	beq	.L8
	mov	r1, r4
	mov	r0, r5
	bl	ocfs2_read_xattr_bucket
	subs	r4, r0, #0
	beq	.L9
.L3:
	mov	r0, r6
	bl	ocfs2_xattr_bucket_free
	mov	r0, r5
	bl	ocfs2_xattr_bucket_free
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r1, r9
	mov	r0, r6
	bl	ocfs2_init_xattr_bucket
	subs	r4, r0, #0
	bne	.L3
	cmp	r8, #0
	ldrne	r3, .L10+4
	ldreq	r3, .L10+8
	mov	r1, r6
	mov	r0, r7
	ldr	r2, [r3]
	bl	ocfs2_xattr_bucket_journal_access
	subs	r4, r0, #0
	bne	.L3
	mov	r1, r5
	mov	r0, r6
	bl	ocfs2_xattr_bucket_copy_data
	mov	r1, r6
	mov	r0, r7
	bl	ocfs2_xattr_bucket_journal_dirty
	b	.L3
.L8:
	ldr	r3, .L10+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	bl	mlog_errno
	b	.L3
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	OCFS2_JOURNAL_ACCESS_CREATE
	.word	OCFS2_JOURNAL_ACCESS_WRITE
	.word	ENOMEM
	.size	ocfs2_cp_xattr_bucket, .-ocfs2_cp_xattr_bucket
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_JOURNAL_ACCESS_CREATE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
