	.file	"extr_xfs_dir2_node.c_xfs_dir2_leafn_order.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xfs_dir2_leafn_order
	.type	xfs_dir2_leafn_order, @function
xfs_dir2_leafn_order:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, QWORD PTR [rsi]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rdi]
	mov	edi, DWORD PTR 4[rbx]
	call	be16_to_cpu@PLT
	xor	edi, edi
	cmp	DWORD PTR XFS_DIR2_LEAFN_MAGIC[rip], eax
	sete	dil
	call	ASSERT@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	be16_to_cpu@PLT
	xor	edi, edi
	cmp	DWORD PTR XFS_DIR2_LEAFN_MAGIC[rip], eax
	sete	dil
	call	ASSERT@PLT
	mov	edi, DWORD PTR [rbx]
	call	be16_to_cpu@PLT
	test	eax, eax
	jg	.L2
.L4:
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	be16_to_cpu@PLT
	test	eax, eax
	jle	.L4
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	be32_to_cpu@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR [rax]
	call	be32_to_cpu@PLT
	mov	r8, rax
	mov	eax, 1
	cmp	r12, r8
	jl	.L1
	mov	edi, DWORD PTR 0[rbp]
	mov	r12, QWORD PTR 8[rbp]
	call	be16_to_cpu@PLT
	cdqe
	mov	edi, DWORD PTR -4[r12+rax*4]
	call	be32_to_cpu@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12, QWORD PTR 8[rbx]
	mov	rbp, rax
	call	be16_to_cpu@PLT
	cdqe
	mov	edi, DWORD PTR -4[r12+rax*4]
	call	be32_to_cpu@PLT
	cmp	rbp, rax
	setl	al
	movzx	eax, al
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xfs_dir2_leafn_order, .-xfs_dir2_leafn_order
	.comm	XFS_DIR2_LEAFN_MAGIC,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_node.c_xfs_dir2_leafn_order.c"
	.text
	.align	2
	.global	xfs_dir2_leafn_order
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_dir2_leafn_order, %function
xfs_dir2_leafn_order:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r6, [r1]
	ldr	r0, [r4, #4]
	bl	be16_to_cpu
	ldr	r5, .L8
	ldr	r3, [r5]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r6, #4]
	bl	be16_to_cpu
	ldr	r3, [r5]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r4]
	bl	be16_to_cpu
	cmp	r0, #0
	bgt	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r6]
	bl	be16_to_cpu
	cmp	r0, #0
	ble	.L4
	ldr	r3, [r6, #8]
	ldr	r0, [r3]
	bl	be32_to_cpu
	ldr	r3, [r4, #8]
	mov	r5, r0
	ldr	r0, [r3]
	bl	be32_to_cpu
	cmp	r5, r0
	blt	.L5
	ldr	r0, [r6]
	ldr	r5, [r6, #8]
	bl	be16_to_cpu
	sub	r0, r0, #-1073741823
	ldr	r0, [r5, r0, lsl #2]
	bl	be32_to_cpu
	mov	r5, r0
	ldr	r0, [r4]
	ldr	r4, [r4, #8]
	bl	be16_to_cpu
	sub	r0, r0, #-1073741823
	ldr	r0, [r4, r0, lsl #2]
	bl	be32_to_cpu
	cmp	r5, r0
	movge	r0, #0
	movlt	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	XFS_DIR2_LEAFN_MAGIC
	.size	xfs_dir2_leafn_order, .-xfs_dir2_leafn_order
	.comm	XFS_DIR2_LEAFN_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
