	.file	"extr_namei.c_ocfs2_check_if_ancestor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	".."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"max lookup times reached, filesystem may have nested directories, src inode: %llu, dest inode: %llu.\n"
	.text
	.p2align 4
	.type	ocfs2_check_if_ancestor, @function
ocfs2_check_if_ancestor:
.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
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, 32
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	lea	r14, 16[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 16[rsp], 0
	.p2align 4,,10
	.p2align 3
.L6:
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r12
	call	ocfs2_iget@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L13
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	ocfs2_inode_lock@PLT
	test	eax, eax
	js	.L14
	mov	rcx, r14
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	ocfs2_lookup_ino_from_name@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	r15d, eax
	call	ocfs2_inode_unlock@PLT
	mov	rdi, rbp
	call	iput@PLT
	test	r15d, r15d
	js	.L15
	mov	rsi, QWORD PTR 16[rsp]
	cmp	rsi, r13
	je	.L8
	mov	rax, QWORD PTR [r12]
	cmp	rsi, QWORD PTR [rax]
	je	.L9
	sub	ebx, 1
	jne	.L6
	mov	rdx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR ML_NOTICE[rip]
	mov	rcx, r13
	lea	rsi, .LC1[rip]
	call	mlog@PLT
	xor	r8d, r8d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r8d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], eax
	call	iput@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	eax, r8d
	add	eax, DWORD PTR ENOENT[rip]
	je	.L1
	mov	edi, r8d
	call	mlog_errno@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r8d, DWORD PTR ENOENT[rip]
	neg	r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r8d, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r8d, r8d
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_check_if_ancestor, .-ocfs2_check_if_ancestor
	.comm	ML_NOTICE,4,4
	.comm	MAX_LOOKUP_TIMES,4,4
	.comm	ENOENT,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_namei.c_ocfs2_check_if_ancestor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"..\000"
	.align	2
.LC1:
	.ascii	"max lookup times reached, filesystem may have neste"
	.ascii	"d directories, src inode: %llu, dest inode: %llu.\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_check_if_ancestor, %function
ocfs2_check_if_ancestor:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r1
	mov	r7, r0
	mov	r6, #32
	mov	r8, r2
	ldr	r2, .L17
	sub	sp, sp, #20
	ldr	r9, .L17+4
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #8]
.L6:
	mov	r3, #0
	mov	r0, r7
	mov	r2, r3
	bl	ocfs2_iget
	mov	r5, r0
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L13
	mov	r2, r4
	mov	r1, r4
	mov	r0, r5
	bl	ocfs2_inode_lock
	subs	fp, r0, #0
	blt	.L14
	mov	r2, #2
	add	r3, sp, #8
	mov	r1, r9
	mov	r0, r5
	bl	ocfs2_lookup_ino_from_name
	mov	fp, r0
	mov	r1, r4
	mov	r0, r5
	bl	ocfs2_inode_unlock
	mov	r0, r5
	bl	iput
	cmp	fp, #0
	blt	.L15
	ldr	r1, [sp, #8]
	cmp	r1, r8
	beq	.L9
	ldr	r3, [r7]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L1
	subs	r6, r6, #1
	bne	.L6
	asr	r9, r8, #31
	stm	sp, {r8-r9}
	ldr	r3, .L17+8
	mov	r2, r10
	ldr	r0, [r3]
	ldr	r1, .L17+12
	asr	r3, r10, #31
	bl	mlog
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r0, r5
	bl	PTR_ERR
	mov	r4, r0
	b	.L1
.L14:
	mov	r0, r5
	bl	iput
	ldr	r3, .L17+16
	ldr	r4, [r3]
	cmn	fp, r4
	rsb	r4, r4, #0
	beq	.L1
	mov	r0, fp
	bl	mlog_errno
	mov	r4, fp
	b	.L1
.L15:
	ldr	r3, .L17+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L9:
	mov	r4, #1
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC0
	.word	ML_NOTICE
	.word	.LC1
	.word	ENOENT
	.size	ocfs2_check_if_ancestor, .-ocfs2_check_if_ancestor
	.comm	ML_NOTICE,4,4
	.comm	MAX_LOOKUP_TIMES,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
