	.file	"extr_btree.c_nilfs_btree_mark.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nilfs_btree_mark, @function
nilfs_btree_mark:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	nilfs_btree_alloc_path@PLT
	test	rax, rax
	je	.L12
	mov	edx, r12d
	lea	rcx, 12[rsp]
	xor	r9d, r9d
	mov	rsi, rax
	lea	r8d, 1[rbx]
	mov	rdi, r13
	mov	rbp, rax
	call	nilfs_btree_do_lookup@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L10
	mov	esi, DWORD PTR 12[rsp]
	lea	rdx, 16[rsp]
	mov	rdi, r13
	call	nilfs_btree_get_block@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L10
	mov	rdi, QWORD PTR 16[rsp]
	call	buffer_dirty@PLT
	test	eax, eax
	je	.L13
.L7:
	mov	rdi, QWORD PTR 16[rsp]
	call	brelse@PLT
	mov	rdi, r13
	call	nilfs_bmap_dirty@PLT
	test	eax, eax
	je	.L14
.L5:
	mov	rdi, rbp
	call	nilfs_btree_free_path@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, r12d
	xor	edi, edi
	add	eax, DWORD PTR ENOENT[rip]
	sete	dil
	call	WARN_ON@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 16[rsp]
	call	mark_buffer_dirty@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r13
	call	nilfs_bmap_set_dirty@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nilfs_btree_mark, .-nilfs_btree_mark
	.comm	ENOMEM,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_btree.c_nilfs_btree_mark.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nilfs_btree_mark, %function
nilfs_btree_mark:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L16
	sub	sp, sp, #28
	mov	r6, r0
	mov	r5, r1
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	nilfs_btree_alloc_path
	subs	r7, r0, #0
	beq	.L12
	mov	r3, #0
	add	r4, r4, #1
	str	r4, [sp]
	str	r3, [sp, #4]
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	add	r3, sp, #16
	bl	nilfs_btree_do_lookup
	subs	r4, r0, #0
	blt	.L10
	mov	r0, r6
	ldr	r1, [sp, #16]
	add	r2, sp, #12
	bl	nilfs_btree_get_block
	subs	r4, r0, #0
	blt	.L10
	ldr	r0, [sp, #12]
	bl	buffer_dirty
	cmp	r0, #0
	beq	.L13
.L7:
	ldr	r0, [sp, #12]
	bl	brelse
	mov	r0, r6
	bl	nilfs_bmap_dirty
	cmp	r0, #0
	beq	.L14
.L5:
	mov	r0, r7
	bl	nilfs_btree_free_path
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmn	r4, r3
	moveq	r0, #1
	movne	r0, #0
	bl	WARN_ON
	b	.L5
.L12:
	ldr	r3, .L16+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L13:
	ldr	r0, [sp, #12]
	bl	mark_buffer_dirty
	b	.L7
.L14:
	mov	r0, r6
	bl	nilfs_bmap_set_dirty
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	ENOENT
	.word	ENOMEM
	.size	nilfs_btree_mark, .-nilfs_btree_mark
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
