	.file	"extr_userdlm.c_user_bast.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"BAST fired for lockres %.*s, blocking %d, level %d\n"
	.text
	.p2align 4
	.type	user_bast, @function
user_bast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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
	call	user_lksb_to_lock_res@PLT
	mov	edi, DWORD PTR ML_BASTS[rip]
	mov	r8d, ebp
	lea	rsi, .LC0[rip]
	mov	rbx, rax
	mov	ecx, DWORD PTR 20[rax]
	mov	edx, DWORD PTR 24[rax]
	mov	r9d, DWORD PTR 16[rax]
	lea	r12, 8[rbx]
	call	mlog@PLT
	mov	rdi, r12
	call	spin_lock@PLT
	mov	eax, DWORD PTR USER_LOCK_BLOCKED[rip]
	or	DWORD PTR 12[rbx], eax
	cmp	DWORD PTR [rbx], ebp
	jge	.L2
	mov	DWORD PTR [rbx], ebp
.L2:
	mov	rdi, rbx
	call	__user_dlm_queue_lockres@PLT
	mov	rdi, r12
	call	spin_unlock@PLT
	lea	rdi, 4[rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	wake_up@PLT
	.cfi_endproc
.LFE0:
	.size	user_bast, .-user_bast
	.comm	USER_LOCK_BLOCKED,4,4
	.comm	ML_BASTS,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_userdlm.c_user_bast.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"BAST fired for lockres %.*s, blocking %d, level %d\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_bast, %function
user_bast:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	mov	r5, r1
	bl	user_lksb_to_lock_res
	mov	r4, r0
	ldr	r3, [r0, #20]
	ldr	r2, [r0, #24]
	ldr	r0, [r0, #16]
	ldr	r1, .L5
	str	r0, [sp, #4]
	str	r5, [sp]
	add	r6, r4, #8
	ldr	r0, [r1]
	ldr	r1, .L5+4
	bl	mlog
	mov	r0, r6
	bl	spin_lock
	ldr	r2, .L5+8
	ldr	r1, [r4]
	ldr	r2, [r2]
	ldr	r3, [r4, #12]
	cmp	r1, r5
	orr	r3, r3, r2
	str	r3, [r4, #12]
	strlt	r5, [r4]
	mov	r0, r4
	bl	__user_dlm_queue_lockres
	mov	r0, r6
	bl	spin_unlock
	add	r0, r4, #4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	wake_up
.L6:
	.align	2
.L5:
	.word	ML_BASTS
	.word	.LC0
	.word	USER_LOCK_BLOCKED
	.size	user_bast, .-user_bast
	.comm	USER_LOCK_BLOCKED,4,4
	.comm	ML_BASTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
