	.file	"extr_dat.c_nilfs_dat_translate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nilfs_dat_translate
	.type	nilfs_dat_translate, @function
nilfs_dat_translate:
.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
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	xor	edx, edx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	call	nilfs_palloc_get_entry_block@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR [rsp]
	mov	esi, DWORD PTR KM_USER0[rip]
	mov	edi, DWORD PTR [rax]
	call	kmap_atomic@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	rdi, rbp
	mov	esi, r13d
	mov	rcx, rax
	mov	r14, rax
	call	nilfs_palloc_block_get_entry@PLT
	mov	edi, DWORD PTR [rax]
	call	le64_to_cpu@PLT
	test	rax, rax
	je	.L11
	test	rbx, rbx
	je	.L4
	mov	QWORD PTR [rbx], rax
.L4:
	mov	esi, DWORD PTR KM_USER0[rip]
	mov	rdi, r14
	call	kunmap_atomic@PLT
	mov	rdi, QWORD PTR [rsp]
	call	brelse@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	jmp	.L4
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nilfs_dat_translate, .-nilfs_dat_translate
	.comm	KM_USER0,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_dat.c_nilfs_dat_translate.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nilfs_dat_translate
	.syntax unified
	.arm
	.fpu softvfp
	.type	nilfs_dat_translate, %function
nilfs_dat_translate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	ip, .L13
	sub	sp, sp, #12
	mov	r5, r2
	mov	r3, sp
	mov	r2, #0
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	mov	r8, r0
	mov	r7, r1
	bl	nilfs_palloc_get_entry_block
	subs	r4, r0, #0
	blt	.L1
	ldr	r3, [sp]
	ldr	r9, .L13+4
	ldr	r0, [r3]
	ldr	r1, [r9]
	bl	kmap_atomic
	mov	r6, r0
	mov	r1, r7
	mov	r3, r6
	ldr	r2, [sp]
	mov	r0, r8
	bl	nilfs_palloc_block_get_entry
	ldr	r0, [r0]
	bl	le64_to_cpu
	cmp	r0, #0
	beq	.L11
	cmp	r5, #0
	strne	r0, [r5]
.L4:
	mov	r0, r6
	ldr	r1, [r9]
	bl	kunmap_atomic
	ldr	r0, [sp]
	bl	brelse
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L4
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	KM_USER0
	.word	ENOENT
	.size	nilfs_dat_translate, .-nilfs_dat_translate
	.comm	KM_USER0,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
