	.file	"extr_dir.c_ocfs2_search_dx_free_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_search_dx_free_list, @function
ocfs2_search_dx_free_list:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	edi, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 16[rsp], 0
	call	OCFS2_DIR_REC_LEN@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	le64_to_cpu@PLT
	test	rax, rax
	je	.L8
	mov	rbp, rax
	xor	r12d, r12d
	lea	r14, 16[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 16[rsp]
	mov	esi, DWORD PTR [rbx]
	call	ocfs2_trailer_from_bh@PLT
	mov	edi, DWORD PTR 4[rax]
	mov	rbp, rax
	call	le16_to_cpu@PLT
	cmp	eax, r13d
	jge	.L13
	mov	edi, DWORD PTR 0[rbp]
	call	le64_to_cpu@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
.L6:
	mov	rdi, r12
	call	brelse@PLT
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, rbx
	mov	r12, QWORD PTR 16[rsp]
	mov	QWORD PTR 16[rsp], 0
	call	ocfs2_read_dir_block_direct@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L3
	mov	edi, eax
	call	mlog_errno@PLT
	mov	rdi, QWORD PTR 16[rsp]
.L4:
	call	brelse@PLT
	mov	rdi, r12
	call	brelse@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L8:
	.cfi_restore_state
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r15d, DWORD PTR ENOSPC[rip]
	mov	rdi, QWORD PTR 16[rsp]
	neg	r15d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	xor	edi, edi
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR [rcx], r12
	xor	r12d, r12d
	mov	QWORD PTR 8[rcx], rax
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_search_dx_free_list, .-ocfs2_search_dx_free_list
	.comm	ENOSPC,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_dir.c_ocfs2_search_dx_free_list.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_search_dx_free_list, %function
ocfs2_search_dx_free_list:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, #0
	mov	r4, r1
	mov	r8, r3
	ldr	r3, .L15
	sub	sp, sp, #8
	mov	r6, r0
	mov	r0, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r5, [sp]
	bl	OCFS2_DIR_REC_LEN
	ldr	r3, [r4]
	mov	r7, r0
	ldr	r0, [r3]
	bl	le64_to_cpu
	subs	r4, r0, #0
	beq	.L8
	mov	r9, r5
	b	.L6
.L3:
	ldr	r1, [r6]
	ldr	r0, [sp]
	bl	ocfs2_trailer_from_bh
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	le16_to_cpu
	cmp	r0, r7
	bge	.L13
	ldr	r0, [r4]
	bl	le64_to_cpu
	subs	r4, r0, #0
	beq	.L2
.L6:
	mov	r0, r5
	bl	brelse
	mov	r1, r4
	mov	r2, sp
	mov	r0, r6
	ldr	r5, [sp]
	str	r9, [sp]
	bl	ocfs2_read_dir_block_direct
	subs	r10, r0, #0
	beq	.L3
	bl	mlog_errno
	ldr	r0, [sp]
.L4:
	bl	brelse
	mov	r0, r5
	bl	brelse
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r5, r4
.L2:
	ldr	r3, .L15+4
	ldr	r0, [sp]
	ldr	r10, [r3]
	rsb	r10, r10, #0
	b	.L4
.L13:
	ldr	r3, [sp]
	str	r5, [r8]
	mov	r0, r10
	mov	r5, r10
	str	r3, [r8, #4]
	str	r10, [sp]
	b	.L4
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	ENOSPC
	.size	ocfs2_search_dx_free_list, .-ocfs2_search_dx_free_list
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
