	.file	"extr_xfs_attr_leaf.c_xfs_attr3_leaf_verify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xfs_attr3_leaf_verify, @function
xfs_attr3_leaf_verify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 8[rdi]
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	rdi, QWORD PTR 0[r13]
	mov	rdx, rbp
	call	xfs_attr3_leaf_hdr_from_disk@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbx
	call	xfs_da3_blkinfo_verify@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	call	xfs_log_in_recovery@PLT
	test	eax, eax
	jne	.L3
	cmp	QWORD PTR [rsp], 0
	je	.L6
.L3:
	mov	rax, QWORD PTR 0[r13]
	mov	r14, QWORD PTR 8[rsp]
	cmp	r14, QWORD PTR [rax]
	jle	.L16
.L6:
	mov	r12, QWORD PTR __this_address[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	call	xfs_attr3_leaf_hdr_size@PLT
	cmp	r14, rax
	jl	.L6
	mov	rdi, QWORD PTR [rbx]
	call	xfs_attr3_leaf_entryp@PLT
	mov	rdx, QWORD PTR [rsp]
	lea	rdx, [rax+rdx*4]
	mov	rax, QWORD PTR 8[rsp]
	add	rax, QWORD PTR [rbx]
	cmp	rdx, rax
	ja	.L6
	mov	eax, DWORD PTR XFS_ATTR_LEAF_MAPSIZE[rip]
	test	eax, eax
	jle	.L1
	mov	rdx, QWORD PTR 0[r13]
	sub	eax, 1
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	r8, 8[rdx+rax*8]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	test	al, 3
	jne	.L6
	movsx	rdi, DWORD PTR 4[rdx]
	mov	rax, rdi
	cmp	rsi, rdi
	jl	.L6
	test	al, 3
	jne	.L6
	add	eax, ecx
	cmp	ecx, eax
	jg	.L6
	cdqe
	cmp	rsi, rax
	jl	.L6
	add	rdx, 8
	cmp	r8, rdx
	je	.L1
.L8:
	movsx	rax, DWORD PTR [rdx]
	mov	rcx, rax
	cmp	rax, rsi
	jle	.L17
	jmp	.L6
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xfs_attr3_leaf_verify, .-xfs_attr3_leaf_verify
	.comm	__this_address,8,8
	.comm	XFS_ATTR_LEAF_MAPSIZE,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_attr_leaf.c_xfs_attr3_leaf_verify.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_attr3_leaf_verify, %function
xfs_attr3_leaf_verify:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r5, r7}
	mov	r4, r0
	sub	sp, sp, #16
	ldr	r3, .L18
	mov	r2, r5
	mov	r1, sp
	ldr	r0, [r7]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	xfs_attr3_leaf_hdr_from_disk
	mov	r0, r4
	ldr	r1, [r4]
	bl	xfs_da3_blkinfo_verify
	subs	r6, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r0, r7
	bl	xfs_log_in_recovery
	ldr	r3, [sp]
	orrs	r3, r0, r3
	beq	.L6
	ldr	r3, [r7]
	ldr	r8, [sp, #4]
	ldr	r3, [r3]
	cmp	r8, r3
	ble	.L16
.L6:
	ldr	r3, .L18+4
	ldr	r6, [r3]
	b	.L1
.L16:
	mov	r0, r5
	bl	xfs_attr3_leaf_hdr_size
	cmp	r8, r0
	blt	.L6
	ldr	r0, [r4]
	bl	xfs_attr3_leaf_entryp
	ldm	sp, {r1, r2}
	ldr	r3, [r4]
	add	r0, r0, r1, lsl #2
	add	r3, r3, r2
	cmp	r0, r3
	bhi	.L6
	ldr	r3, .L18+8
	ldr	lr, [r3]
	cmp	lr, #0
	ble	.L1
	ldr	r3, [r7]
	ldr	ip, [sp, #8]
	mov	r1, r6
	ldr	r0, [r3]
	add	r4, ip, #4
	b	.L8
.L17:
	tst	r2, #3
	bne	.L6
	ldr	r3, [r4, r1, lsl #3]
	cmp	r0, r3
	blt	.L6
	tst	r3, #3
	bne	.L6
	add	r3, r2, r3
	cmp	r2, r3
	bgt	.L6
	cmp	r0, r3
	blt	.L6
	add	r1, r1, #1
	cmp	r1, lr
	beq	.L1
.L8:
	ldr	r2, [ip, r1, lsl #3]
	cmp	r2, r0
	ble	.L17
	b	.L6
.L15:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	__this_address
	.word	XFS_ATTR_LEAF_MAPSIZE
	.size	xfs_attr3_leaf_verify, .-xfs_attr3_leaf_verify
	.comm	__this_address,4,4
	.comm	XFS_ATTR_LEAF_MAPSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
