	.file	"extr_dlmmaster.c_dlm_lockres_release_ast.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dlm_lockres_release_ast
	.type	dlm_lockres_release_ast, @function
dlm_lockres_release_ast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 8[rsi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, 24[rsi]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	rsi, r12
	call	atomic_dec_and_lock@PLT
	test	eax, eax
	je	.L1
	cmp	QWORD PTR 16[rbx], 0
	je	.L6
	mov	edi, DWORD PTR [rbx]
	and	edi, DWORD PTR DLM_LOCK_RES_MIGRATING[rip]
	call	BUG_ON@PLT
	mov	eax, DWORD PTR DLM_LOCK_RES_MIGRATING[rip]
	or	DWORD PTR [rbx], eax
	mov	rdi, r12
	mov	QWORD PTR 16[rbx], 0
	call	spin_unlock@PLT
	lea	rdi, 4[rbx]
	call	wake_up@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	wake_up@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dlm_lockres_release_ast, .-dlm_lockres_release_ast
	.comm	DLM_LOCK_RES_MIGRATING,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_lockres_release_ast.c"
	.text
	.align	2
	.global	dlm_lockres_release_ast
	.syntax unified
	.arm
	.fpu softvfp
	.type	dlm_lockres_release_ast, %function
dlm_lockres_release_ast:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	add	r5, r1, #8
	mov	r6, r0
	mov	r1, r5
	add	r0, r4, #16
	bl	atomic_dec_and_lock
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L6
	ldr	r8, .L7
	ldr	r0, [r4]
	ldr	r3, [r8]
	mov	r7, r4
	and	r0, r0, r3
	bl	BUG_ON
	mov	r2, #0
	ldr	r1, [r8]
	ldr	r3, [r4]
	str	r2, [r4, #12]
	orr	r3, r3, r1
	str	r3, [r7], #4
	mov	r0, r5
	bl	spin_unlock
	mov	r0, r7
	bl	wake_up
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	wake_up
.L6:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L8:
	.align	2
.L7:
	.word	DLM_LOCK_RES_MIGRATING
	.size	dlm_lockres_release_ast, .-dlm_lockres_release_ast
	.comm	DLM_LOCK_RES_MIGRATING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
