	.file	"extr_mft.c_map_mft_record.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Entering for mft_no 0x%lx."
.LC1:
	.string	"Failed with error code %lu."
	.text
	.p2align 4
	.globl	map_mft_record
	.type	map_mft_record, @function
map_mft_record:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	lea	rbp, 8[rbx]
	lea	r13, 12[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR 16[rdi]
	lea	rdi, .LC0[rip]
	call	ntfs_debug@PLT
	mov	rdi, rbp
	call	atomic_inc@PLT
	mov	rdi, r13
	call	mutex_lock@PLT
	mov	rdi, rbx
	call	map_mft_record_page@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	eax, eax
	je	.L1
	mov	rdi, r13
	call	mutex_unlock@PLT
	mov	rdi, rbp
	call	atomic_dec@PLT
	mov	rdi, r12
	call	PTR_ERR@PLT
	lea	rsi, .LC1[rip]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	ntfs_error@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	map_mft_record, .-map_mft_record
	.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_mft.c_map_mft_record.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Entering for mft_no 0x%lx.\000"
	.align	2
.LC1:
	.ascii	"Failed with error code %lu.\000"
	.text
	.align	2
	.global	map_mft_record
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_mft_record, %function
map_mft_record:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, .L8
	ldr	r1, [r4, #12]
	add	r6, r4, #4
	bl	ntfs_debug
	add	r7, r4, #8
	mov	r0, r6
	bl	atomic_inc
	mov	r0, r7
	bl	mutex_lock
	mov	r0, r4
	bl	map_mft_record_page
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L1
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r6
	bl	atomic_dec
	ldr	r3, [r4]
	mov	r0, r5
	ldr	r4, [r3]
	bl	PTR_ERR
	mov	r2, r0
	ldr	r1, .L8+4
	mov	r0, r4
	rsb	r2, r2, #0
	bl	ntfs_error
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	map_mft_record, .-map_mft_record
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
