	.file	"extr_rcom.c_dlm_receive_rcom.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"receive_rcom bad type %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"dlm_receive_rcom ignore msg %d from %d %llu %llu recover seq %llu sts %x gen %u"
	.align 8
.LC2:
	.string	"recovery message %d from %d is too short"
	.text
	.p2align 4
	.globl	dlm_receive_rcom
	.type	dlm_receive_rcom, @function
dlm_receive_rcom:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 20[rdi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, 24[rdi]
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR [rsi]
	add	eax, -128
	cmp	eax, 7
	ja	.L2
	lea	rdx, CSWTCH.5[rip]
	mov	rdi, r12
	mov	ecx, DWORD PTR [rdx+rax*4]
	lea	rdx, CSWTCH.6[rip]
	mov	DWORD PTR 16[rsp], ecx
	mov	ecx, DWORD PTR [rdx+rax*4]
	lea	rdx, CSWTCH.7[rip]
	mov	DWORD PTR 28[rsp], ecx
	mov	ecx, DWORD PTR [rdx+rax*4]
	lea	rdx, CSWTCH.8[rip]
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR 20[rsp], ecx
	mov	DWORD PTR 24[rsp], eax
	call	spin_lock@PLT
	mov	edi, DWORD PTR LSFL_RECOVER_STOP[rip]
	mov	rsi, rbx
	mov	r14d, DWORD PTR 0[rbp]
	call	test_bit@PLT
	mov	rdi, r12
	mov	rbx, QWORD PTR 8[rbp]
	mov	DWORD PTR 12[rsp], eax
	call	spin_unlock@PLT
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	mov	edx, DWORD PTR [r15]
	jne	.L36
.L3:
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	je	.L5
	mov	r9, QWORD PTR 8[r15]
	cmp	r9, rbx
	jne	.L6
.L5:
	test	DWORD PTR DLM_RS_NODES[rip], r14d
	jne	.L7
	mov	ecx, DWORD PTR 24[rsp]
	mov	eax, DWORD PTR 28[rsp]
	or	eax, DWORD PTR 20[rsp]
	or	ecx, eax
	je	.L8
.L4:
	mov	r9, QWORD PTR 8[r15]
.L6:
	mov	eax, DWORD PTR 16[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r8, QWORD PTR 16[r15]
	mov	ecx, r13d
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	push	rax
	.cfi_def_cfa_offset 112
	push	r14
	.cfi_def_cfa_offset 120
	push	rbx
	.cfi_def_cfa_offset 128
	call	log_limit@PLT
	add	rsp, 72
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_def_cfa_offset 96
	mov	rdi, r12
	call	spin_lock@PLT
	mov	edi, DWORD PTR LSFL_RECOVER_STOP[rip]
	mov	rsi, rbx
	mov	r14d, DWORD PTR 0[rbp]
	call	test_bit@PLT
	mov	rdi, r12
	mov	rbx, QWORD PTR 8[rbp]
	mov	DWORD PTR 12[rsp], eax
	call	spin_unlock@PLT
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	mov	edx, DWORD PTR [r15]
	jne	.L20
.L8:
	lea	eax, -128[rdx]
	cmp	eax, 7
	ja	.L9
	lea	rsi, .L11[rip]
	movsx	rax, DWORD PTR [rsi+rax*4]
	add	rax, rsi
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L16-.L11
	.long	.L17-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.text
	.p2align 4,,10
	.p2align 3
.L20:
	cmp	edx, 129
	jne	.L4
	test	DWORD PTR DLM_RS_NODES[rip], r14d
	je	.L8
	mov	DWORD PTR 24[rsp], 0
	mov	DWORD PTR 20[rsp], 0
.L7:
	test	DWORD PTR DLM_RS_DIR[rip], r14d
	jne	.L8
	mov	eax, DWORD PTR 20[rsp]
	or	eax, DWORD PTR 24[rsp]
	jne	.L4
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L36:
	cmp	edx, 129
	je	.L3
	mov	r9, QWORD PTR 8[r15]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_sync_reply@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmp	DWORD PTR 24[r15], 35
	jle	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_rcom_lock@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_rcom_status@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_rcom_names@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_rcom_lookup_reply@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	receive_rcom_lookup@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmp	DWORD PTR 24[r15], 35
	jle	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	mov	rdi, rbp
	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
	jmp	dlm_recover_process_copy@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r13d
	mov	rdi, rbp
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	lea	rsi, .LC2[rip]
	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
	jmp	log_error@PLT
.L9:
	.cfi_restore_state
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	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
	jmp	log_error@PLT
	.cfi_endproc
.LFE0:
	.size	dlm_receive_rcom, .-dlm_receive_rcom
	.section	.rodata
	.align 32
	.type	CSWTCH.8, @object
	.size	CSWTCH.8, 32
CSWTCH.8:
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.align 32
	.type	CSWTCH.7, @object
	.size	CSWTCH.7, 32
CSWTCH.7:
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	0
	.long	0
	.align 32
	.type	CSWTCH.6, @object
	.size	CSWTCH.6, 32
CSWTCH.6:
	.long	0
	.long	0
	.long	1
	.long	1
	.long	0
	.long	0
	.long	0
	.long	0
	.align 32
	.type	CSWTCH.5, @object
	.size	CSWTCH.5, 32
CSWTCH.5:
	.long	1
	.long	0
	.long	1
	.long	0
	.long	1
	.long	0
	.long	1
	.long	0
	.comm	LSFL_RECOVER_STOP,4,4
	.comm	DLM_RS_NODES,4,4
	.comm	DLM_RS_DIR,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_rcom.c_dlm_receive_rcom.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"receive_rcom bad type %d\000"
	.align	2
.LC1:
	.ascii	"dlm_receive_rcom ignore msg %d from %d %llu %llu re"
	.ascii	"cover seq %llu sts %x gen %u\000"
	.align	2
.LC2:
	.ascii	"recovery message %d from %d is too short\000"
	.text
	.align	2
	.global	dlm_receive_rcom
	.syntax unified
	.arm
	.fpu softvfp
	.type	dlm_receive_rcom, %function
dlm_receive_rcom:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r1]
	mov	fp, r1
	sub	r3, r3, #128
	cmp	r3, #7
	mov	r4, r0
	mov	r5, r2
	sub	sp, sp, #44
	add	r7, r0, #12
	add	r10, r0, #16
	bhi	.L2
	ldr	r1, .L42
	mov	r0, r7
	add	r2, r1, r3, lsl #2
	ldr	r6, [r1, r3, lsl #2]
	ldr	r3, [r2, #32]
	ldr	r8, [r2, #96]
	str	r3, [sp, #36]
	ldr	r3, [r2, #64]
	str	r3, [sp, #32]
	bl	spin_lock
	ldr	r3, .L42+4
	mov	r1, r10
	ldr	r0, [r3]
	ldr	r10, [r4]
	bl	test_bit
	mov	r9, r0
	mov	r0, r7
	ldr	r7, [r4, #4]
	bl	spin_unlock
	cmp	r9, #0
	ldr	r2, [fp]
	bne	.L36
.L3:
	cmp	r6, #0
	beq	.L5
	ldr	r6, [fp, #4]
	cmp	r6, r7
	bne	.L6
.L5:
	ldr	r3, .L42+8
	ldr	r3, [r3]
	tst	r10, r3
	bne	.L7
	ldr	r3, [sp, #36]
	ldr	r1, [sp, #32]
	orr	r9, r3, r1
	orrs	r3, r9, r8
	beq	.L8
.L4:
	ldr	r6, [fp, #4]
.L6:
	mov	r0, r7
	ldr	r8, [fp, #8]
	str	r10, [sp, #24]
	asr	r9, r8, #31
	stm	sp, {r8-r9}
	ldr	ip, [r4, #8]
	asr	r1, r7, #31
	asr	r7, r6, #31
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	mov	r3, r5
	mov	r0, r4
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	ldr	r1, .L42+12
	str	ip, [sp, #28]
	bl	log_limit
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r7
	bl	spin_lock
	ldr	r3, .L42+4
	mov	r1, r10
	ldr	r0, [r3]
	ldr	r10, [r4]
	bl	test_bit
	mov	r6, r0
	mov	r0, r7
	ldr	r7, [r4, #4]
	bl	spin_unlock
	cmp	r6, #0
	ldr	r2, [fp]
	beq	.L8
	cmp	r2, #129
	bne	.L4
	ldr	r3, .L42+8
	ldr	r3, [r3]
	tst	r10, r3
	movne	r8, #0
	strne	r8, [sp, #32]
	beq	.L8
.L7:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	tst	r10, r3
	bne	.L8
	ldr	r3, [sp, #32]
	orrs	r3, r3, r8
	bne	.L4
.L8:
	sub	r3, r2, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L16
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L10
.L36:
	cmp	r2, #129
	beq	.L3
	ldr	r6, [fp, #4]
	b	.L6
.L16:
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_sync_reply
.L17:
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_rcom_status
.L15:
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_rcom_names
.L14:
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_rcom_lookup_reply
.L13:
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_rcom_lookup
.L12:
	ldr	r3, [fp, #12]
	cmp	r3, #19
	ble	.L18
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	dlm_recover_process_copy
.L10:
	ldr	r3, [fp, #12]
	cmp	r3, #19
	ble	.L18
	mov	r1, fp
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	receive_rcom_lock
.L18:
	mov	r3, r5
	mov	r0, r4
	ldr	r1, .L42+20
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	log_error
.L9:
	mov	r0, r4
	ldr	r1, .L42+24
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	log_error
.L43:
	.align	2
.L42:
	.word	.LANCHOR0
	.word	LSFL_RECOVER_STOP
	.word	DLM_RS_NODES
	.word	.LC1
	.word	DLM_RS_DIR
	.word	.LC2
	.word	.LC0
	.size	dlm_receive_rcom, .-dlm_receive_rcom
	.comm	LSFL_RECOVER_STOP,4,4
	.comm	DLM_RS_NODES,4,4
	.comm	DLM_RS_DIR,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.4, %object
	.size	CSWTCH.4, 32
CSWTCH.4:
	.word	1
	.word	0
	.word	1
	.word	0
	.word	1
	.word	0
	.word	1
	.word	0
	.type	CSWTCH.5, %object
	.size	CSWTCH.5, 32
CSWTCH.5:
	.word	0
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.type	CSWTCH.6, %object
	.size	CSWTCH.6, 32
CSWTCH.6:
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.type	CSWTCH.7, %object
	.size	CSWTCH.7, 32
CSWTCH.7:
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
