	.file	"extr_dir.c_ocfs2_check_dir_trailer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Invalid dirblock #%llu: signature = %.*s\n"
	.align 8
.LC1:
	.string	"Directory block #%llu has an invalid db_blkno of %llu"
	.align 8
.LC2:
	.string	"Directory block #%llu on dinode #%llu has an invalid parent_dinode of %llu"
	.text
	.p2align 4
	.type	ocfs2_check_dir_trailer, @function
ocfs2_check_dir_trailer:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	esi, DWORD PTR [rdi]
	mov	rdi, rbp
	call	ocfs2_trailer_from_bh@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	OCFS2_IS_VALID_DIR_TRAILER@PLT
	test	eax, eax
	je	.L8
	mov	edi, DWORD PTR 8[rbx]
	call	le64_to_cpu@PLT
	cmp	rax, QWORD PTR 0[rbp]
	jne	.L9
.L3:
	endbr64
	mov	edi, DWORD PTR 12[rbx]
	xor	r13d, r13d
	call	le64_to_cpu@PLT
	mov	rdi, r12
	mov	r14, rax
	call	OCFS2_I@PLT
	cmp	r14, QWORD PTR [rax]
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	mov	r13d, DWORD PTR EINVAL[rip]
	call	le64_to_cpu@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r12]
	neg	r13d
	mov	rcx, rax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ocfs2_error@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L8:
	.cfi_restore_state
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	r8, QWORD PTR [rbx]
	mov	ecx, 7
	lea	rsi, .LC0[rip]
	mov	rdx, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r12]
	neg	r13d
	call	ocfs2_error@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	mov	r13d, DWORD PTR EINVAL[rip]
	call	le64_to_cpu@PLT
	mov	rdi, r12
	neg	r13d
	mov	rbx, rax
	call	OCFS2_I@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r12]
	mov	r8, rbx
	mov	rcx, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	ocfs2_error@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.cfi_endproc
.LFE0:
	.size	ocfs2_check_dir_trailer, .-ocfs2_check_dir_trailer
	.comm	EINVAL,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_dir.c_ocfs2_check_dir_trailer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid dirblock #%llu: signature = %.*s\012\000"
	.align	2
.LC1:
	.ascii	"Directory block #%llu has an invalid db_blkno of %l"
	.ascii	"lu\000"
	.align	2
.LC2:
	.ascii	"Directory block #%llu on dinode #%llu has an invali"
	.ascii	"d parent_dinode of %llu\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_check_dir_trailer, %function
ocfs2_check_dir_trailer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	sub	sp, sp, #20
	ldr	r1, [r0]
	mov	r4, r0
	mov	r0, r5
	bl	ocfs2_trailer_from_bh
	mov	r6, r0
	bl	OCFS2_IS_VALID_DIR_TRAILER
	cmp	r0, #0
	beq	.L8
	ldr	r0, [r6, #8]
	bl	le64_to_cpu
	ldr	r8, [r5]
	cmp	r0, r8
	bne	.L9
.L3:
	ldr	r0, [r6, #12]
	bl	le64_to_cpu
	mov	r7, r0
	mov	r0, r4
	bl	OCFS2_I
	ldr	r3, [r0]
	cmp	r7, r3
	moveq	r5, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	ldr	r3, .L11
	ldr	r0, [r6, #8]
	ldr	r5, [r3]
	ldr	r4, [r4]
	bl	le64_to_cpu
	mov	r6, r0
	asr	r7, r0, #31
	mov	r2, r8
	mov	r0, r4
	stm	sp, {r6-r7}
	ldr	r1, .L11+4
	rsb	r5, r5, #0
	asr	r3, r8, #31
	bl	ocfs2_error
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r8, #7
	ldmia	r6, {r6-r7}
	mov	r9, #0
	ldr	r3, .L11
	ldr	r2, [r5]
	ldr	r5, [r3]
	ldr	r0, [r4]
	ldr	r1, .L11+8
	stm	sp, {r8-r9}
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	asr	r3, r2, #31
	rsb	r5, r5, #0
	bl	ocfs2_error
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r3, .L11
	mov	r0, r4
	ldr	r8, [r5]
	ldr	r4, [r4]
	ldr	r5, [r3]
	bl	OCFS2_I
	ldr	r3, [r0]
	ldr	r0, [r6, #8]
	asr	r7, r3, #31
	mov	r6, r3
	bl	le64_to_cpu
	mov	r10, r0
	asr	fp, r0, #31
	asr	r9, r8, #31
	mov	r2, r8
	mov	r3, r9
	mov	r0, r4
	stm	sp, {r6-r7}
	str	r10, [sp, #8]
	str	fp, [sp, #12]
	ldr	r1, .L11+12
	rsb	r5, r5, #0
	bl	ocfs2_error
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	.align	2
.L11:
	.word	EINVAL
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	ocfs2_check_dir_trailer, .-ocfs2_check_dir_trailer
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
