	.file	"extr_dlmmaster.c_dlm_pre_master_reco_lockres.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: node %u has not seen node %u go down yet, and thinks the dead node is mastering the recovery lock.  must wait.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s: reco lock master is %u\n"
	.text
	.p2align 4
	.type	dlm_pre_master_reco_lockres, @function
dlm_pre_master_reco_lockres:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR DLM_LOCK_RES_OWNER_UNKNOWN[rip]
	lea	r12, 16[rsp]
	mov	DWORD PTR 20[rsp], eax
	lea	rax, 8[rdi]
	mov	rdi, rax
	mov	r14, rax
	mov	QWORD PTR 8[rsp], rax
	call	spin_lock@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	rsi, r12
	call	dlm_node_iter_init@PLT
	mov	rdi, r14
	lea	r14, 20[rsp]
	call	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r12
	call	dlm_node_iter_next@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L1
	cmp	DWORD PTR [rbx], r15d
	je	.L3
	mov	rcx, r14
	mov	edx, r15d
	mov	rsi, r13
	mov	rdi, rbx
	call	dlm_do_master_requery@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L17
.L4:
	mov	eax, DWORD PTR DLM_LOCK_RES_OWNER_UNKNOWN[rip]
	cmp	DWORD PTR 20[rsp], eax
	je	.L3
	mov	rdi, QWORD PTR 8[rsp]
	call	spin_lock@PLT
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR 20[rsp]
	call	test_bit@PLT
	test	rax, rax
	jne	.L18
.L5:
	mov	rdi, QWORD PTR 8[rsp]
	call	spin_unlock@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR 20[rsp]
	xor	edi, edi
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	mlog@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebp
	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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, eax
	call	mlog_errno@PLT
	mov	edi, ebp
	call	dlm_is_host_down@PLT
	mov	ebp, eax
	test	eax, eax
	je	.L20
	xor	ebp, ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	xor	eax, eax
	call	BUG@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edx, DWORD PTR 4[rbx]
	mov	r8d, DWORD PTR 20[rsp]
	mov	ecx, r15d
	xor	eax, eax
	mov	edi, DWORD PTR ML_NOTICE[rip]
	lea	rsi, .LC0[rip]
	call	mlog@PLT
	mov	ebp, DWORD PTR EAGAIN[rip]
	neg	ebp
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dlm_pre_master_reco_lockres, .-dlm_pre_master_reco_lockres
	.comm	ML_NOTICE,4,4
	.comm	EAGAIN,4,4
	.comm	DLM_LOCK_RES_OWNER_UNKNOWN,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_dlmmaster.c_dlm_pre_master_reco_lockres.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: node %u has not seen node %u go down yet, and t"
	.ascii	"hinks the dead node is mastering the recovery lock."
	.ascii	"  must wait.\012\000"
	.align	2
.LC1:
	.ascii	"%s: reco lock master is %u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dlm_pre_master_reco_lockres, %function
dlm_pre_master_reco_lockres:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	ldr	r7, .L20
	ldr	r2, .L20+4
	ldr	r3, [r7]
	add	r8, r0, #8
	sub	sp, sp, #28
	mov	r0, r8
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r6, r1
	str	r3, [sp, #16]
	bl	spin_lock
	add	r1, sp, #12
	ldr	r0, [r5, #16]
	bl	dlm_node_iter_init
	mov	r0, r8
	bl	spin_unlock
	mov	r9, #0
.L3:
	add	r0, sp, #12
	bl	dlm_node_iter_next
	subs	r4, r0, #0
	blt	.L1
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L3
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	add	r3, sp, #16
	bl	dlm_do_master_requery
	subs	r9, r0, #0
	blt	.L17
.L4:
	ldr	r2, [sp, #16]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L3
	mov	r0, r8
	bl	spin_lock
	ldr	r1, [r5, #12]
	ldr	r0, [sp, #16]
	bl	test_bit
	cmp	r0, #0
	bne	.L18
.L5:
	mov	r0, r8
	bl	spin_unlock
	mov	r0, #0
	ldr	r2, [r5, #4]
	ldr	r3, [sp, #16]
	ldr	r1, .L20+8
	bl	mlog
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	bl	mlog_errno
	mov	r0, r9
	bl	dlm_is_host_down
	subs	r9, r0, #0
	movne	r9, #0
	bne	.L4
	bl	BUG
	b	.L4
.L18:
	ldr	r2, [sp, #16]
	ldr	r1, .L20+12
	mov	r3, r4
	ldr	r0, [r1]
	str	r2, [sp]
	ldr	r2, [r5, #4]
	ldr	r1, .L20+16
	bl	mlog
	ldr	r3, .L20+20
	ldr	r0, [r3]
	rsb	r9, r0, #0
	b	.L5
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	DLM_LOCK_RES_OWNER_UNKNOWN
	.word	.LC2
	.word	.LC1
	.word	ML_NOTICE
	.word	.LC0
	.word	EAGAIN
	.size	dlm_pre_master_reco_lockres, .-dlm_pre_master_reco_lockres
	.comm	ML_NOTICE,4,4
	.comm	EAGAIN,4,4
	.comm	DLM_LOCK_RES_OWNER_UNKNOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
