	.file	"extr_nfs4proc.c__nfs4_proc_setlk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_nfs4_proc_setlk, @function
_nfs4_proc_setlk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rdi]
	call	NFS_I@PLT
	movzx	r14d, BYTE PTR [rbx]
	mov	r15, QWORD PTR 8[rbp]
	mov	rsi, rbx
	mov	r12, rax
	movzx	eax, BYTE PTR FL_ACCESS[rip]
	or	eax, r14d
	mov	BYTE PTR [rbx], al
	mov	edi, DWORD PTR 0[rbp]
	call	locks_lock_inode_wait@PLT
	mov	r8d, eax
	test	eax, eax
	js	.L2
	mov	rdi, r15
	call	mutex_lock@PLT
	mov	rdi, r12
	call	down_read@PLT
	mov	edi, DWORD PTR NFS_DELEGATED_STATE[rip]
	lea	rsi, 4[rbp]
	call	test_bit@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, r12
	call	up_read@PLT
	mov	rdi, r15
	call	mutex_unlock@PLT
	mov	rdx, rbx
	mov	esi, r13d
	mov	rdi, rbp
	mov	ecx, DWORD PTR NFS_LOCK_NEW[rip]
	call	_nfs4_do_setlk@PLT
	mov	r8d, eax
.L2:
	mov	BYTE PTR [rbx], r14b
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movzx	eax, BYTE PTR FL_SLEEP[rip]
	mov	rsi, rbx
	not	eax
	and	eax, r14d
	mov	BYTE PTR [rbx], al
	mov	edi, DWORD PTR 0[rbp]
	call	locks_lock_inode_wait@PLT
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], eax
	call	up_read@PLT
	mov	rdi, r15
	call	mutex_unlock@PLT
	mov	r8d, DWORD PTR 12[rsp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	_nfs4_proc_setlk, .-_nfs4_proc_setlk
	.comm	NFS_LOCK_NEW,4,4
	.comm	NFS_DELEGATED_STATE,4,4
	.comm	FL_SLEEP,1,1
	.comm	FL_ACCESS,1,1
	.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_nfs4proc.c__nfs4_proc_setlk.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_nfs4_proc_setlk, %function
_nfs4_proc_setlk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r5, r0
	ldr	r0, [r0]
	mov	r10, r1
	bl	NFS_I
	ldr	r3, .L7
	ldrb	r8, [r4]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r9, [r5, #8]
	orr	r3, r8, r3
	strb	r3, [r4]
	mov	r7, r0
	mov	r1, r4
	ldr	r0, [r5]
	bl	locks_lock_inode_wait
	subs	r6, r0, #0
	blt	.L2
	mov	r0, r9
	bl	mutex_lock
	mov	r0, r7
	bl	down_read
	ldr	r3, .L7+4
	add	r1, r5, #4
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L6
	mov	r0, r7
	bl	up_read
	mov	r0, r9
	bl	mutex_unlock
	ldr	r3, .L7+8
	mov	r1, r10
	mov	r0, r5
	mov	r2, r4
	ldr	r3, [r3]
	bl	_nfs4_do_setlk
	mov	r6, r0
.L2:
	mov	r0, r6
	strb	r8, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L7+12
	mov	r1, r4
	ldrb	r3, [r3]	@ zero_extendqisi2
	bic	r3, r8, r3
	strb	r3, [r4]
	ldr	r0, [r5]
	bl	locks_lock_inode_wait
	mov	r6, r0
	mov	r0, r7
	bl	up_read
	mov	r0, r9
	bl	mutex_unlock
	b	.L2
.L8:
	.align	2
.L7:
	.word	FL_ACCESS
	.word	NFS_DELEGATED_STATE
	.word	NFS_LOCK_NEW
	.word	FL_SLEEP
	.size	_nfs4_proc_setlk, .-_nfs4_proc_setlk
	.comm	NFS_LOCK_NEW,4,4
	.comm	NFS_DELEGATED_STATE,4,4
	.comm	FL_SLEEP,1,1
	.comm	FL_ACCESS,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
