	.file	"extr_dlmglue.c_ocfs2_generic_handle_convert_action.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_generic_handle_convert_action, @function
ocfs2_generic_handle_convert_action:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	eax, DWORD PTR [rdi]
	xor	edi, edi
	test	DWORD PTR OCFS2_LOCK_BUSY[rip], eax
	sete	dil
	call	BUG_ON@PLT
	mov	eax, DWORD PTR 0[rbp]
	xor	edi, edi
	test	DWORD PTR OCFS2_LOCK_ATTACHED[rip], eax
	sete	dil
	call	BUG_ON@PLT
	mov	rax, QWORD PTR DLM_LOCK_NL[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L10
.L2:
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR OCFS2_LOCK_NONBLOCK_FINISHED[rip]
	mov	QWORD PTR 8[rbp], rax
	test	DWORD PTR 0[rbp], esi
	jne	.L3
	mov	esi, DWORD PTR OCFS2_LOCK_UPCONVERT_FINISHING[rip]
	mov	rdi, rbp
	call	lockres_or_flags@PLT
	mov	esi, DWORD PTR OCFS2_LOCK_BUSY[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	lockres_clear_flags@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	lockres_clear_flags@PLT
	mov	esi, DWORD PTR OCFS2_LOCK_BUSY[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	lockres_clear_flags@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR LOCK_TYPE_REQUIRES_REFRESH[rip], eax
	je	.L2
	mov	esi, DWORD PTR OCFS2_LOCK_NEEDS_REFRESH[rip]
	mov	rdi, rbp
	call	lockres_or_flags@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ocfs2_generic_handle_convert_action, .-ocfs2_generic_handle_convert_action
	.comm	OCFS2_LOCK_UPCONVERT_FINISHING,4,4
	.comm	OCFS2_LOCK_NONBLOCK_FINISHED,4,4
	.comm	OCFS2_LOCK_NEEDS_REFRESH,4,4
	.comm	OCFS2_LOCK_BUSY,4,4
	.comm	OCFS2_LOCK_ATTACHED,4,4
	.comm	LOCK_TYPE_REQUIRES_REFRESH,4,4
	.comm	DLM_LOCK_NL,8,8
	.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_dlmglue.c_ocfs2_generic_handle_convert_action.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_generic_handle_convert_action, %function
ocfs2_generic_handle_convert_action:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L11
	ldr	r2, [r0]
	ldr	r3, [r5]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	BUG_ON
	ldr	r3, .L11+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	BUG_ON
	ldr	r3, .L11+8
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L10
.L2:
	ldr	r3, .L11+12
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, [r4, #8]
	tst	r1, r2
	str	r3, [r4, #4]
	bne	.L3
	ldr	r3, .L11+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	lockres_or_flags
	mov	r0, r4
	ldr	r1, [r5]
	pop	{r4, r5, r6, lr}
	b	lockres_clear_flags
.L3:
	mov	r0, r4
	bl	lockres_clear_flags
	mov	r0, r4
	ldr	r1, [r5]
	pop	{r4, r5, r6, lr}
	b	lockres_clear_flags
.L10:
	ldr	r2, [r4, #12]
	ldr	r3, .L11+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
	ldr	r3, .L11+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	lockres_or_flags
	b	.L2
.L12:
	.align	2
.L11:
	.word	OCFS2_LOCK_BUSY
	.word	OCFS2_LOCK_ATTACHED
	.word	DLM_LOCK_NL
	.word	OCFS2_LOCK_NONBLOCK_FINISHED
	.word	OCFS2_LOCK_UPCONVERT_FINISHING
	.word	LOCK_TYPE_REQUIRES_REFRESH
	.word	OCFS2_LOCK_NEEDS_REFRESH
	.size	ocfs2_generic_handle_convert_action, .-ocfs2_generic_handle_convert_action
	.comm	OCFS2_LOCK_UPCONVERT_FINISHING,4,4
	.comm	OCFS2_LOCK_NONBLOCK_FINISHED,4,4
	.comm	OCFS2_LOCK_NEEDS_REFRESH,4,4
	.comm	OCFS2_LOCK_BUSY,4,4
	.comm	OCFS2_LOCK_ATTACHED,4,4
	.comm	LOCK_TYPE_REQUIRES_REFRESH,4,4
	.comm	DLM_LOCK_NL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
