	.file	"extr_recoverd.c_ls_recover.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"recover %llx"
.LC1:
	.string	"recover_members failed %d"
.LC2:
	.string	"recover_directory failed %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"recover_directory_wait failed %d"
	.section	.rodata.str1.1
.LC4:
	.string	"recover_masters failed %d"
.LC5:
	.string	"recover_locks failed %d"
.LC6:
	.string	"recover_locks_wait failed %d"
.LC7:
	.string	"recover_done_wait failed %d"
.LC8:
	.string	"enable_locking failed %d"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"process_requestqueue failed %d"
	.align 8
.LC10:
	.string	"recover_waiters_post failed %d"
	.section	.rodata.str1.1
.LC11:
	.string	"recover %llx done: %u ms"
.LC12:
	.string	"recover %llx error %d"
	.text
	.p2align 4
	.type	ls_recover, @function
ls_recover:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR [rsi]
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	log_debug@PLT
	mov	rdi, rbp
	call	mutex_lock@PLT
	xor	eax, eax
	call	dlm_astd_suspend@PLT
	xor	eax, eax
	call	dlm_astd_resume@PLT
	mov	rdi, rbp
	call	dlm_clear_toss_list@PLT
	mov	rdi, rbp
	call	dlm_create_root_list@PLT
	lea	rdx, 4[rsp]
	mov	rsi, rbx
	mov	rdi, rbp
	call	dlm_recover_members@PLT
	test	eax, eax
	jne	.L29
	mov	rdi, rbp
	mov	r13, QWORD PTR jiffies[rip]
	call	dlm_recover_directory@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L30
	mov	rdi, rbp
	call	dlm_recover_directory_wait@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L31
	mov	rdi, rbp
	call	dlm_recover_waiters_pre@PLT
	mov	rdi, rbp
	call	dlm_recovery_stopped@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L9
	mov	rdi, rbp
	call	dlm_no_directory@PLT
	test	rax, rax
	je	.L32
.L9:
	mov	rdi, rbp
	call	dlm_recover_purge@PLT
	mov	rdi, rbp
	call	dlm_recover_masters@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L33
	mov	rdi, rbp
	call	dlm_recover_locks@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L34
	mov	rdi, rbp
	call	dlm_recover_locks_wait@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L26
	mov	rdi, rbp
	call	dlm_recover_rsbs@PLT
.L13:
	mov	rdi, rbp
	call	dlm_release_root_list@PLT
	mov	rdi, rbp
	call	dlm_purge_requestqueue@PLT
	mov	esi, DWORD PTR DLM_RS_DONE[rip]
	mov	rdi, rbp
	call	dlm_set_recover_status@PLT
	mov	rdi, rbp
	call	dlm_recover_done_wait@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L35
	mov	rdi, rbp
	call	dlm_clear_members_gone@PLT
	mov	rdi, rbp
	call	dlm_adjust_timeouts@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	call	enable_locking@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L36
	mov	rdi, rbp
	call	dlm_process_requestqueue@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L37
	mov	rdi, rbp
	call	dlm_recover_waiters_post@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L38
	mov	rdi, rbp
	call	dlm_recover_grant@PLT
	xor	eax, eax
	call	dlm_astd_wake@PLT
	mov	rdi, QWORD PTR jiffies[rip]
	sub	rdi, r13
	call	jiffies_to_msecs@PLT
	mov	rdx, QWORD PTR [rbx]
	lea	rsi, .LC11[rip]
	mov	ecx, eax
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L30:
	movsx	rdx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
.L3:
	mov	rdi, rbp
	call	dlm_release_root_list@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	ecx, r12d
	lea	rsi, .LC12[rip]
.L27:
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 24
	.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
.L29:
	.cfi_restore_state
	mov	r12d, eax
	movsx	rdx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movsx	rdx, eax
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L33:
	movsx	rdx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L32:
	mov	esi, DWORD PTR DLM_RS_LOCKS[rip]
	mov	rdi, rbp
	call	dlm_set_recover_status@PLT
	mov	rdi, rbp
	call	dlm_recover_locks_wait@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L13
.L26:
	movsx	rdx, r12d
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L34:
	movsx	rdx, eax
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L35:
	movsx	rdx, eax
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L36:
	movsx	rdx, eax
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L37:
	movsx	rdx, eax
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
.L38:
	movsx	rdx, eax
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L3
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ls_recover, .-ls_recover
	.comm	jiffies,8,8
	.comm	DLM_RS_LOCKS,4,4
	.comm	DLM_RS_DONE,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_recoverd.c_ls_recover.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"recover %llx\000"
	.align	2
.LC1:
	.ascii	"recover_members failed %d\000"
	.align	2
.LC2:
	.ascii	"recover_directory failed %d\000"
	.align	2
.LC3:
	.ascii	"recover_directory_wait failed %d\000"
	.align	2
.LC4:
	.ascii	"recover_masters failed %d\000"
	.align	2
.LC5:
	.ascii	"recover_locks failed %d\000"
	.align	2
.LC6:
	.ascii	"recover_locks_wait failed %d\000"
	.align	2
.LC7:
	.ascii	"recover_done_wait failed %d\000"
	.align	2
.LC8:
	.ascii	"enable_locking failed %d\000"
	.align	2
.LC9:
	.ascii	"process_requestqueue failed %d\000"
	.align	2
.LC10:
	.ascii	"recover_waiters_post failed %d\000"
	.align	2
.LC11:
	.ascii	"recover %llx done: %u ms\000"
	.align	2
.LC12:
	.ascii	"recover %llx error %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ls_recover, %function
ls_recover:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	ldr	r2, [r1]
	ldr	lr, .L39
	sub	sp, sp, #16
	asr	r3, r2, #31
	ldr	r1, .L39+4
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	str	ip, [sp, #8]
	bl	log_debug
	mov	r0, r5
	bl	mutex_lock
	bl	dlm_astd_suspend
	bl	dlm_astd_resume
	mov	r0, r5
	bl	dlm_clear_toss_list
	mov	r0, r5
	bl	dlm_create_root_list
	mov	r1, r6
	mov	r0, r5
	add	r2, sp, #8
	bl	dlm_recover_members
	subs	r4, r0, #0
	bne	.L28
	ldr	r7, .L39+8
	mov	r0, r5
	ldr	r8, [r7]
	bl	dlm_recover_directory
	subs	r4, r0, #0
	bne	.L29
	mov	r0, r5
	bl	dlm_recover_directory_wait
	subs	r4, r0, #0
	bne	.L30
	mov	r0, r5
	bl	dlm_recover_waiters_pre
	mov	r0, r5
	bl	dlm_recovery_stopped
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L9
	mov	r0, r5
	bl	dlm_no_directory
	cmp	r0, #0
	beq	.L31
.L9:
	mov	r0, r5
	bl	dlm_recover_purge
	mov	r0, r5
	bl	dlm_recover_masters
	subs	r4, r0, #0
	bne	.L32
	mov	r0, r5
	bl	dlm_recover_locks
	subs	r4, r0, #0
	bne	.L33
	mov	r0, r5
	bl	dlm_recover_locks_wait
	subs	r4, r0, #0
	bne	.L26
	mov	r0, r5
	bl	dlm_recover_rsbs
.L13:
	mov	r0, r5
	bl	dlm_release_root_list
	mov	r0, r5
	bl	dlm_purge_requestqueue
	ldr	r3, .L39+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	dlm_set_recover_status
	mov	r0, r5
	bl	dlm_recover_done_wait
	subs	r4, r0, #0
	bne	.L34
	mov	r0, r5
	bl	dlm_clear_members_gone
	mov	r0, r5
	bl	dlm_adjust_timeouts
	mov	r0, r5
	ldr	r1, [r6]
	bl	enable_locking
	subs	r4, r0, #0
	bne	.L35
	mov	r0, r5
	bl	dlm_process_requestqueue
	subs	r4, r0, #0
	bne	.L36
	mov	r0, r5
	bl	dlm_recover_waiters_post
	subs	r4, r0, #0
	bne	.L37
	mov	r0, r5
	bl	dlm_recover_grant
	bl	dlm_astd_wake
	ldr	r0, [r7]
	ldr	r6, [r6]
	sub	r0, r0, r8
	bl	jiffies_to_msecs
	asr	r7, r6, #31
	str	r0, [sp]
	mov	r2, r6
	mov	r3, r7
	mov	r0, r5
	ldr	r1, .L39+16
	bl	log_debug
	mov	r0, r5
	bl	mutex_unlock
	b	.L1
.L29:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+20
	asr	r3, r4, #31
	bl	log_debug
.L3:
	mov	r0, r5
	bl	dlm_release_root_list
	ldr	r2, [r6]
	mov	r0, r5
	ldr	r1, .L39+24
	str	r4, [sp]
	asr	r3, r2, #31
	bl	log_debug
	mov	r0, r5
	bl	mutex_unlock
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+28
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L30:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+32
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L32:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+36
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L31:
	ldr	r3, .L39+40
	mov	r0, r5
	ldr	r1, [r3]
	bl	dlm_set_recover_status
	mov	r0, r5
	bl	dlm_recover_locks_wait
	subs	r4, r0, #0
	beq	.L13
.L26:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+44
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L33:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+48
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L34:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+52
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L35:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+56
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L36:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+60
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L37:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L39+64
	asr	r3, r4, #31
	bl	log_debug
	b	.L3
.L38:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	.LC13
	.word	.LC0
	.word	jiffies
	.word	DLM_RS_DONE
	.word	.LC11
	.word	.LC2
	.word	.LC12
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	DLM_RS_LOCKS
	.word	.LC6
	.word	.LC5
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	ls_recover, .-ls_recover
	.comm	jiffies,4,4
	.comm	DLM_RS_LOCKS,4,4
	.comm	DLM_RS_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
