	.file	"extr_namei.c_ntfs_get_parent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Entering for inode 0x%lx."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Inode 0x%lx does not have a file name attribute.  Run chkdsk."
	.text
	.p2align 4
	.type	ntfs_get_parent, @function
ntfs_get_parent:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	rdi, r14
	call	NTFS_I@PLT
	mov	esi, DWORD PTR 4[r14]
	lea	rdi, .LC0[rip]
	mov	r13, rax
	call	ntfs_debug@PLT
	mov	rdi, r13
	call	map_mft_record@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L15:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, r13
	call	ntfs_attr_get_search_ctx@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	push	r12
	.cfi_def_cfa_offset 72
	mov	ecx, DWORD PTR CASE_SENSITIVE[rip]
	xor	edx, edx
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR AT_FILE_NAME[rip]
	xor	r8d, r8d
	xor	esi, esi
	call	ntfs_attr_lookup@PLT
	mov	edi, eax
	mov	ebp, eax
	call	unlikely@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	rax, rax
	jne	.L17
	mov	rbx, QWORD PTR [r12]
	mov	edi, DWORD PTR [rbx]
	call	unlikely@PLT
	test	rax, rax
	jne	.L6
	mov	edi, DWORD PTR 12[rbx]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbx]
	cdqe
	lea	rbp, [rbx+rax*4]
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 4[rbx]
	cdqe
	lea	r15, 0[rbp+rax*4]
	call	le32_to_cpu@PLT
	xor	edi, edi
	cdqe
	lea	rax, [rbx+rax*4]
	cmp	r15, rax
	seta	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L6
	mov	edi, DWORD PTR 0[rbp]
	call	MREF_LE@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	ntfs_attr_put_search_ctx@PLT
	mov	rdi, r13
	call	unmap_mft_record@PLT
	mov	edi, DWORD PTR [r14]
	mov	rsi, rbp
	call	ntfs_iget@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	edi, eax
	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
	jmp	d_obtain_alias@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, r12
	call	ntfs_attr_put_search_ctx@PLT
	mov	rdi, r13
	call	unmap_mft_record@PLT
	mov	eax, ebp
	add	eax, DWORD PTR ENOENT[rip]
	je	.L18
.L5:
	mov	edi, ebp
.L13:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[r14]
	mov	edi, DWORD PTR [r14]
	lea	rsi, .LC1[rip]
	call	ntfs_error@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r13
	call	unmap_mft_record@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	ntfs_get_parent, .-ntfs_get_parent
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	CASE_SENSITIVE,4,4
	.comm	AT_FILE_NAME,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_ntfs_get_parent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Entering for inode 0x%lx.\000"
	.align	2
.LC1:
	.ascii	"Inode 0x%lx does not have a file name attribute.  R"
	.ascii	"un chkdsk.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ntfs_get_parent, %function
ntfs_get_parent:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0]
	sub	sp, sp, #28
	mov	r0, r3
	mov	r4, r3
	str	r3, [sp, #20]
	bl	NTFS_I
	mov	r10, r0
	ldr	r1, [r4, #4]
	ldr	r0, .L17
	bl	ntfs_debug
	mov	r0, r10
	bl	map_mft_record
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L14
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r1, r4
	mov	r0, r10
	bl	ntfs_attr_get_search_ctx
	mov	r6, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r5, r0, #0
	bne	.L10
	ldr	r9, .L17+4
	ldr	r8, .L17+8
.L6:
	mov	r2, #0
	ldr	r3, [r9]
	mov	r1, r2
	ldr	r0, [r8]
	str	r6, [sp, #12]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	bl	ntfs_attr_lookup
	mov	r4, r0
	bl	unlikely
	cmp	r0, #0
	bne	.L15
	ldr	r4, [r6]
	ldr	r0, [r4]
	bl	unlikely
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r4, #12]
	bl	le16_to_cpu
	mov	r7, r0
	ldr	r0, [r4, #8]
	bl	le32_to_cpu
	mov	fp, r0
	ldr	r0, [r4, #4]
	bl	le32_to_cpu
	add	r7, r4, r7, lsl #2
	add	r0, r4, r0, lsl #2
	add	fp, r7, fp, lsl #2
	cmp	fp, r0
	movls	r0, #0
	movhi	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r7]
	bl	MREF_LE
	mov	r4, r0
	mov	r0, r6
	bl	ntfs_attr_put_search_ctx
	mov	r0, r10
	bl	unmap_mft_record
	ldr	r3, [sp, #20]
	mov	r1, r4
	ldr	r0, [r3]
	bl	ntfs_iget
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	d_obtain_alias
.L15:
	mov	r0, r6
	bl	ntfs_attr_put_search_ctx
	mov	r0, r10
	bl	unmap_mft_record
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmn	r4, r3
	beq	.L16
.L5:
	mov	r0, r4
.L12:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ERR_PTR
.L10:
	mov	r0, r10
	bl	unmap_mft_record
	ldr	r3, .L17+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L12
.L16:
	ldr	r3, [sp, #20]
	ldr	r1, .L17+20
	ldm	r3, {r0, r2}
	bl	ntfs_error
	b	.L5
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	CASE_SENSITIVE
	.word	AT_FILE_NAME
	.word	ENOENT
	.word	ENOMEM
	.word	.LC1
	.size	ntfs_get_parent, .-ntfs_get_parent
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	CASE_SENSITIVE,4,4
	.comm	AT_FILE_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
