	.file	"extr_dlmglue.c_ocfs2_generic_handle_bast.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_generic_handle_bast, @function
ocfs2_generic_handle_bast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	mlog_entry_void@PLT
	lea	rdi, 4[rbx]
	call	assert_spin_locked@PLT
	mov	esi, DWORD PTR OCFS2_LOCK_BLOCKED[rip]
	mov	rdi, rbx
	call	lockres_or_flags@PLT
	cmp	DWORD PTR [rbx], ebp
	jl	.L7
	mov	edi, r12d
	call	mlog_exit@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, ebp
	call	ocfs2_highest_compat_lock_level@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12, rax
	call	ocfs2_highest_compat_lock_level@PLT
	mov	DWORD PTR [rbx], ebp
	cmp	r12, rax
	setl	r12b
	movzx	r12d, r12b
	mov	edi, r12d
	call	mlog_exit@PLT
	mov	eax, r12d
	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	ocfs2_generic_handle_bast, .-ocfs2_generic_handle_bast
	.comm	OCFS2_LOCK_BLOCKED,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_dlmglue.c_ocfs2_generic_handle_bast.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_generic_handle_bast, %function
ocfs2_generic_handle_bast:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	bl	mlog_entry_void
	add	r0, r4, #4
	bl	assert_spin_locked
	ldr	r3, .L7
	mov	r0, r4
	ldr	r1, [r3]
	bl	lockres_or_flags
	ldr	r3, [r4]
	cmp	r3, r5
	movge	r6, #0
	blt	.L6
.L2:
	mov	r0, r6
	bl	mlog_exit
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r5
	bl	ocfs2_highest_compat_lock_level
	mov	r6, r0
	ldr	r0, [r4]
	bl	ocfs2_highest_compat_lock_level
	cmp	r6, r0
	movge	r6, #0
	movlt	r6, #1
	str	r5, [r4]
	b	.L2
.L8:
	.align	2
.L7:
	.word	OCFS2_LOCK_BLOCKED
	.size	ocfs2_generic_handle_bast, .-ocfs2_generic_handle_bast
	.comm	OCFS2_LOCK_BLOCKED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
