	.file	"extr_xfs_dir2_leaf.c_xfs_dir3_leaf_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xfs_dir3_leaf_init, @function
xfs_dir3_leaf_init:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	QWORD PTR XFS_DIR2_LEAF1_MAGIC[rip], r8
	mov	r15, QWORD PTR 16[rdx]
	mov	QWORD PTR [rsp], rdi
	mov	edi, 1
	mov	DWORD PTR 12[rsp], ecx
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR XFS_DIR2_LEAFN_MAGIC[rip], r8
	sete	dil
.L2:
	call	ASSERT@PLT
	mov	rax, QWORD PTR [rsp]
	lea	r14, 4[rax]
	mov	rdi, r14
	call	xfs_sb_version_hascrc@PLT
	test	rax, rax
	je	.L3
	mov	r13, QWORD PTR 16[rbp]
	xor	esi, esi
	mov	edx, 40
	mov	rdi, r13
	call	memset@PLT
	cmp	QWORD PTR XFS_DIR2_LEAF1_MAGIC[rip], rbx
	je	.L13
	mov	rdi, QWORD PTR XFS_DIR3_LEAFN_MAGIC[rip]
	call	cpu_to_be16@PLT
.L5:
	mov	QWORD PTR 32[r13], rax
	mov	edi, DWORD PTR 8[rbp]
	call	cpu_to_be64@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	QWORD PTR 24[r13], rax
	call	cpu_to_be64@PLT
	lea	rdi, 8[r13]
	mov	rsi, r14
	mov	QWORD PTR 16[r13], rax
	call	uuid_copy@PLT
	cmp	QWORD PTR XFS_DIR2_LEAF1_MAGIC[rip], rbx
	jne	.L7
.L14:
	mov	rax, QWORD PTR [rsp]
	mov	rsi, r15
	mov	edi, DWORD PTR [rax]
	call	xfs_dir2_leaf_tail_p@PLT
	mov	edx, DWORD PTR XFS_BLFT_DIR_LEAF1_BUF[rip]
	mov	QWORD PTR [rax], 0
	lea	rax, xfs_dir3_leaf1_buf_ops[rip]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	xor	esi, esi
	mov	edx, 40
	mov	rdi, r15
	call	memset@PLT
	mov	rdi, rbx
	call	cpu_to_be16@PLT
	cmp	QWORD PTR XFS_DIR2_LEAF1_MAGIC[rip], rbx
	mov	QWORD PTR [r15], rax
	je	.L14
.L7:
	lea	rax, xfs_dir3_leafn_buf_ops[rip]
	mov	edx, DWORD PTR XFS_BLFT_DIR_LEAFN_BUF[rip]
	mov	QWORD PTR 0[rbp], rax
.L11:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	mov	rdi, 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
	jmp	xfs_trans_buf_set_type@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR XFS_DIR3_LEAF1_MAGIC[rip]
	call	cpu_to_be16@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	xfs_dir3_leaf_init, .-xfs_dir3_leaf_init
	.comm	xfs_dir3_leafn_buf_ops,4,4
	.comm	xfs_dir3_leaf1_buf_ops,4,4
	.comm	XFS_DIR3_LEAFN_MAGIC,8,8
	.comm	XFS_DIR3_LEAF1_MAGIC,8,8
	.comm	XFS_DIR2_LEAFN_MAGIC,8,8
	.comm	XFS_DIR2_LEAF1_MAGIC,8,8
	.comm	XFS_BLFT_DIR_LEAFN_BUF,4,4
	.comm	XFS_BLFT_DIR_LEAF1_BUF,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_xfs_dir2_leaf.c_xfs_dir3_leaf_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_dir3_leaf_init, %function
xfs_dir3_leaf_init:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L13
	sub	sp, sp, #12
	ldr	r5, [sp, #48]
	mov	r4, r2
	ldr	r2, [r8]
	str	r3, [sp, #4]
	cmp	r2, r5
	ldrne	r3, .L13+4
	mov	r6, r0
	ldrne	r0, [r3]
	moveq	r0, #1
	subne	r0, r0, r5
	clzne	r0, r0
	add	r10, r6, #4
	lsrne	r0, r0, #5
	mov	r7, r1
	ldr	fp, [r4, #8]
	bl	ASSERT
	mov	r0, r10
	bl	xfs_sb_version_hascrc
	subs	r1, r0, #0
	beq	.L3
	ldr	r9, [r4, #8]
	mov	r2, #20
	mov	r1, #0
	mov	r0, r9
	bl	memset
	ldr	r3, [r8]
	cmp	r3, r5
	ldreq	r3, .L13+8
	ldrne	r3, .L13+12
	ldr	r0, [r3]
	bl	cpu_to_be16
	str	r0, [r9, #16]
	ldr	r0, [r4, #4]
	bl	cpu_to_be64
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r9, #12]
	bl	cpu_to_be64
	mov	r1, r10
	str	r0, [r9, #8]
	add	r0, r9, #4
	bl	uuid_copy
	ldr	r3, [r8]
	cmp	r3, r5
	beq	.L12
.L7:
	mov	r0, r7
	mov	r1, r4
	ldr	r2, .L13+16
	ldr	r3, .L13+20
	str	r2, [r4]
	ldr	r2, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	xfs_trans_buf_set_type
.L3:
	mov	r2, #20
	mov	r0, fp
	bl	memset
	mov	r0, r5
	bl	cpu_to_be16
	ldr	r3, [r8]
	str	r0, [fp]
	cmp	r3, r5
	bne	.L7
.L12:
	mov	r1, fp
	ldr	r0, [r6]
	bl	xfs_dir2_leaf_tail_p
	mov	r1, #0
	mov	r3, r0
	mov	r0, r7
	str	r1, [r3]
	mov	r1, r4
	ldr	r2, .L13+24
	ldr	ip, .L13+28
	ldr	r2, [r2]
	str	ip, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	xfs_trans_buf_set_type
.L14:
	.align	2
.L13:
	.word	XFS_DIR2_LEAF1_MAGIC
	.word	XFS_DIR2_LEAFN_MAGIC
	.word	XFS_DIR3_LEAF1_MAGIC
	.word	XFS_DIR3_LEAFN_MAGIC
	.word	xfs_dir3_leafn_buf_ops
	.word	XFS_BLFT_DIR_LEAFN_BUF
	.word	XFS_BLFT_DIR_LEAF1_BUF
	.word	xfs_dir3_leaf1_buf_ops
	.size	xfs_dir3_leaf_init, .-xfs_dir3_leaf_init
	.comm	xfs_dir3_leafn_buf_ops,4,4
	.comm	xfs_dir3_leaf1_buf_ops,4,4
	.comm	XFS_DIR3_LEAFN_MAGIC,4,4
	.comm	XFS_DIR3_LEAF1_MAGIC,4,4
	.comm	XFS_DIR2_LEAFN_MAGIC,4,4
	.comm	XFS_DIR2_LEAF1_MAGIC,4,4
	.comm	XFS_BLFT_DIR_LEAFN_BUF,4,4
	.comm	XFS_BLFT_DIR_LEAF1_BUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
