	.file	"extr_nfs4proc.c__nfs4_open_and_get_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_nfs4_open_and_get_state, @function
_nfs4_open_and_get_state:
.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
	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	ebx, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR [rdi]
	mov	DWORD PTR [rsp], esi
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], rcx
	mov	r15, QWORD PTR 8[r12]
	call	raw_seqcount_begin@PLT
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	_nfs4_proc_open@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L13
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	nfs4_opendata_to_nfs4_state@PLT
	mov	r14, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, r14
	mov	r13d, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR NFS_CAP_POSIX_LOCK[rip], eax
	jne	.L14
.L3:
	mov	edi, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR [rsp]
	mov	r8d, ebx
	mov	rdx, r14
	mov	rsi, rbp
	call	nfs4_opendata_access@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, r12
	call	read_seqcount_retry@PLT
	test	rax, rax
	jne	.L15
.L4:
.L2:
	endbr64
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], r14
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR NFS_STATE_POSIX_LOCKS[rip]
	mov	rsi, r14
	call	set_bit@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rsi, r14
	mov	rdi, r15
	call	nfs4_schedule_stateid_recovery@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	_nfs4_open_and_get_state, .-_nfs4_open_and_get_state
	.comm	NFS_STATE_POSIX_LOCKS,4,4
	.comm	NFS_CAP_POSIX_LOCK,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_nfs4proc.c__nfs4_open_and_get_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_nfs4_open_and_get_state, %function
_nfs4_open_and_get_state:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r0]
	sub	sp, sp, #20
	mov	r4, r0
	mov	r0, r5
	mov	r7, r1
	mov	r6, r2
	str	r3, [sp, #12]
	ldr	r10, [r5, #8]
	bl	raw_seqcount_begin
	mov	r9, r0
	mov	r0, r4
	bl	_nfs4_proc_open
	subs	r8, r0, #0
	beq	.L13
.L1:
	mov	r0, r8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r0, r4
	bl	nfs4_opendata_to_nfs4_state
	mov	fp, r0
	bl	PTR_ERR
	mov	r8, r0
	mov	r0, fp
	bl	IS_ERR
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L16
	ldr	r2, [r10]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L14
.L3:
	ldr	r0, [r5, #4]
	mov	r3, r7
	mov	r1, r4
	mov	r2, fp
	str	r6, [sp]
	bl	nfs4_opendata_access
	subs	r8, r0, #0
	bne	.L1
	mov	r1, r9
	mov	r0, r5
	bl	read_seqcount_retry
	cmp	r0, #0
	bne	.L15
.L4:
.L2:
	mov	r0, r8
	ldr	r3, [sp, #12]
	str	fp, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r3, .L16+4
	mov	r1, fp
	ldr	r0, [r3]
	bl	set_bit
	b	.L3
.L15:
	mov	r0, r10
	mov	r1, fp
	bl	nfs4_schedule_stateid_recovery
	b	.L4
.L17:
	.align	2
.L16:
	.word	NFS_CAP_POSIX_LOCK
	.word	NFS_STATE_POSIX_LOCKS
	.size	_nfs4_open_and_get_state, .-_nfs4_open_and_get_state
	.comm	NFS_STATE_POSIX_LOCKS,4,4
	.comm	NFS_CAP_POSIX_LOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
