	.file	"extr_dlmdomain.c_dlm_leave_domain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error %d sending domain exit message to node %d\n"
	.text
	.p2align 4
	.type	dlm_leave_domain, @function
dlm_leave_domain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, 4[rdi]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR [rbx]
	call	clear_bit@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR O2NM_MAX_NODES[rip]
	xor	edx, edx
	call	find_next_bit@PLT
	cmp	DWORD PTR O2NM_MAX_NODES[rip], eax
	mov	rdi, rbp
	mov	r12d, eax
	jle	.L11
	call	spin_unlock@PLT
	mov	esi, r12d
	mov	rdi, rbx
	call	dlm_send_one_domain_exit@PLT
	test	eax, eax
	jns	.L5
	mov	ecx, eax
	add	ecx, DWORD PTR ENOPROTOOPT[rip]
	je	.L5
	mov	edx, eax
	add	edx, DWORD PTR ENOTCONN[rip]
	je	.L5
	mov	edi, DWORD PTR ML_NOTICE[rip]
	mov	ecx, r12d
	mov	edx, eax
	mov	rsi, r13
	call	mlog@PLT
	mov	edi, DWORD PTR DLM_DOMAIN_BACKOFF_MS[rip]
	call	msleep@PLT
	mov	rdi, rbp
	call	spin_lock@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	spin_lock@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, r12d
	call	clear_bit@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	dlm_leave_domain, .-dlm_leave_domain
	.comm	O2NM_MAX_NODES,4,4
	.comm	ML_NOTICE,4,4
	.comm	ENOTCONN,4,4
	.comm	ENOPROTOOPT,4,4
	.comm	DLM_DOMAIN_BACKOFF_MS,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_dlmdomain.c_dlm_leave_domain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error %d sending domain exit message to node %d\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dlm_leave_domain, %function
dlm_leave_domain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	add	r7, r0, #4
	mov	r0, r7
	bl	spin_lock
	ldr	r1, [r5, #8]
	ldr	r0, [r5]
	bl	clear_bit
	ldr	r6, .L12
	ldr	r8, .L12+4
	ldr	r9, .L12+8
	ldr	fp, .L12+12
.L2:
	ldr	r10, .L12+16
.L7:
	mov	r2, #0
	ldr	r1, [r6]
	ldr	r0, [r5, #8]
	bl	find_next_bit
	mov	r4, r0
	ldr	r3, [r6]
	mov	r0, r7
	cmp	r3, r4
	ble	.L11
	bl	spin_unlock
	mov	r1, r4
	mov	r0, r5
	bl	dlm_send_one_domain_exit
	subs	r2, r0, #0
	bge	.L5
	ldr	r3, [r8]
	cmn	r2, r3
	beq	.L5
	ldr	r3, [r9]
	cmn	r2, r3
	beq	.L5
	ldr	r0, .L12+20
	mov	r3, r4
	mov	r1, fp
	ldr	r0, [r0]
	bl	mlog
	ldr	r0, [r10]
	bl	msleep
	mov	r0, r7
	bl	spin_lock
	b	.L7
.L5:
	mov	r0, r7
	bl	spin_lock
	mov	r0, r4
	ldr	r1, [r5, #8]
	bl	clear_bit
	b	.L2
.L11:
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	spin_unlock
.L13:
	.align	2
.L12:
	.word	O2NM_MAX_NODES
	.word	ENOPROTOOPT
	.word	ENOTCONN
	.word	.LC0
	.word	DLM_DOMAIN_BACKOFF_MS
	.word	ML_NOTICE
	.size	dlm_leave_domain, .-dlm_leave_domain
	.comm	O2NM_MAX_NODES,4,4
	.comm	ML_NOTICE,4,4
	.comm	ENOTCONN,4,4
	.comm	ENOPROTOOPT,4,4
	.comm	DLM_DOMAIN_BACKOFF_MS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
