	.file	"extr_xfs_da_format.c_xfs_dir3_leaf_hdr_to_disk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xfs_dir3_leaf_hdr_to_disk, @function
xfs_dir3_leaf_hdr_to_disk:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rsi]
	cmp	rax, QWORD PTR XFS_DIR3_LEAF1_MAGIC[rip]
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR XFS_DIR3_LEAFN_MAGIC[rip], rax
	sete	dil
.L2:
	call	ASSERT@PLT
	mov	edi, DWORD PTR 28[rbx]
	call	cpu_to_be32@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	QWORD PTR 32[rbp], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 24[rbp], rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rbp], rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbp], rax
	call	cpu_to_be16@PLT
	mov	QWORD PTR 0[rbp], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xfs_dir3_leaf_hdr_to_disk, .-xfs_dir3_leaf_hdr_to_disk
	.comm	XFS_DIR3_LEAFN_MAGIC,8,8
	.comm	XFS_DIR3_LEAF1_MAGIC,8,8
	.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_da_format.c_xfs_dir3_leaf_hdr_to_disk.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_dir3_leaf_hdr_to_disk, %function
xfs_dir3_leaf_hdr_to_disk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L6
	ldr	r3, [r1]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	cmp	r3, r2
	ldrne	r2, .L6+4
	mov	r5, r0
	ldrne	r0, [r2]
	mov	r4, r1
	subne	r0, r0, r3
	clzne	r0, r0
	moveq	r0, #1
	lsrne	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r4, #16]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r4, #12]
	str	r3, [r5, #16]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r4]
	str	r3, [r5, #12]
	bl	cpu_to_be16
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r5, #8]
	bl	cpu_to_be16
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [r5, #4]
	bl	cpu_to_be16
	str	r0, [r5]
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	XFS_DIR3_LEAF1_MAGIC
	.word	XFS_DIR3_LEAFN_MAGIC
	.size	xfs_dir3_leaf_hdr_to_disk, .-xfs_dir3_leaf_hdr_to_disk
	.comm	XFS_DIR3_LEAFN_MAGIC,4,4
	.comm	XFS_DIR3_LEAF1_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
