	.file	"extr_nfs_nfsdstate.c_nfsrv_checkseqid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nfsrvstate checkseqid"
.LC1:
	.string	"nfsrvstate not inprog"
.LC2:
	.string	"refcnt=%d\n"
.LC3:
	.string	"nfsrvstate op refcnt"
	.text
	.p2align 4
	.type	nfsrv_checkseqid, @function
nfsrv_checkseqid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r12d, DWORD PTR [rdi]
	and	r12d, DWORD PTR ND_NFSV41[rip]
	jne	.L16
	mov	r14, rsi
	mov	rbx, rdx
	mov	r13, rcx
	cmp	QWORD PTR 8[rdi], rcx
	je	.L3
	lea	rdi, .LC0[rip]
	call	panic@PLT
.L3:
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR RC_INPROG[rip], eax
	je	.L24
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L5
.L26:
	mov	rsi, QWORD PTR 8[rdi]
	test	rsi, rsi
	jle	.L25
	mov	rax, QWORD PTR [rbx]
	lea	rdx, 1[rax]
	cmp	r14, rdx
	je	.L8
	cmp	r14, rax
	je	.L14
.L10:
	mov	r12d, DWORD PTR NFSERR_BADSEQID[rip]
.L2:
	mov	rsi, rbp
	mov	edi, r12d
	call	NFSEXITCODE2@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	panic@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L26
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	xor	r12d, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [rbx]
	add	rax, 1
	cmp	r14, rax
	jne	.L10
.L9:
	mov	QWORD PTR 8[rbx], r13
	mov	rdi, r13
	call	nfsrvd_refcache@PLT
	mov	QWORD PTR [rbx], r14
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rdi, .LC2[rip]
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	panic@PLT
	mov	rax, QWORD PTR [rbx]
	lea	rdx, 1[rax]
	cmp	rdx, r14
	je	.L27
	cmp	rax, r14
	jne	.L10
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L10
.L14:
	mov	rax, QWORD PTR 16[rdi]
	cmp	QWORD PTR 16[r13], rax
	jne	.L10
	cmp	QWORD PTR 8[r13], 0
	jne	.L10
	mov	rax, QWORD PTR 24[rdi]
	cmp	QWORD PTR 24[r13], rax
	jne	.L10
	mov	rax, QWORD PTR 32[rdi]
	cmp	QWORD PTR 32[r13], rax
	jne	.L10
	mov	eax, DWORD PTR [rdi]
	mov	edx, DWORD PTR RC_INPROG[rip]
	mov	r12d, DWORD PTR NFSERR_DONTREPLY[rip]
	test	eax, edx
	jne	.L2
	or	eax, edx
	mov	QWORD PTR 8[rbp], rdi
	mov	DWORD PTR [rdi], eax
	mov	rdi, r13
	call	nfsrvd_delcache@PLT
	mov	r12d, DWORD PTR NFSERR_REPLYFROMCACHE[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	call	nfsrvd_derefcache@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	nfsrv_checkseqid, .-nfsrv_checkseqid
	.comm	RC_INPROG,4,4
	.comm	NFSERR_REPLYFROMCACHE,4,4
	.comm	NFSERR_DONTREPLY,4,4
	.comm	NFSERR_BADSEQID,4,4
	.comm	ND_NFSV41,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_nfs_nfsdstate.c_nfsrv_checkseqid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nfsrvstate checkseqid\000"
	.align	2
.LC1:
	.ascii	"nfsrvstate not inprog\000"
	.align	2
.LC2:
	.ascii	"refcnt=%d\012\000"
	.align	2
.LC3:
	.ascii	"nfsrvstate op refcnt\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfsrv_checkseqid, %function
nfsrv_checkseqid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, .L29
	ldr	r4, [r6]
	ldr	ip, [r0]
	ands	r4, r4, ip
	movne	r4, #0
	bne	.L2
	mov	r5, r3
	ldr	r3, [r6, #4]
	mov	r8, r1
	cmp	r3, r5
	mov	r7, r2
	beq	.L3
	ldr	r0, .L29+4
	bl	panic
.L3:
	ldr	r9, .L29+8
	ldr	r2, [r5]
	ldr	r3, [r9]
	tst	r2, r3
	beq	.L24
	ldr	r0, [r7, #4]
	cmp	r0, #0
	beq	.L5
.L27:
	ldr	r1, [r0, #4]
	cmp	r1, #0
	ble	.L25
	ldr	r3, [r7]
	add	r2, r3, #1
	cmp	r8, r2
	beq	.L8
	cmp	r8, r3
	beq	.L26
.L10:
	ldr	r3, .L29+12
	ldr	r4, [r3]
.L2:
	mov	r1, r6
	mov	r0, r4
	bl	NFSEXITCODE2
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L24:
	ldr	r0, .L29+16
	bl	panic
	ldr	r0, [r7, #4]
	cmp	r0, #0
	bne	.L27
.L5:
	ldr	r3, [r7]
	add	r3, r3, #1
	cmp	r8, r3
	bne	.L10
.L9:
	mov	r0, r5
	str	r5, [r7, #4]
	bl	nfsrvd_refcache
	str	r8, [r7]
	b	.L2
.L26:
	mov	r3, r0
.L14:
	ldr	r1, [r5, #8]
	ldr	r2, [r3, #8]
	cmp	r1, r2
	bne	.L10
	ldr	r2, [r5, #4]
	cmp	r2, #0
	bne	.L10
	ldr	r1, [r5, #12]
	ldr	r2, [r3, #12]
	cmp	r1, r2
	bne	.L10
	ldr	r1, [r5, #16]
	ldr	r2, [r3, #16]
	cmp	r1, r2
	bne	.L10
	ldr	r1, [r9]
	ldr	r2, [r3]
	tst	r2, r1
	beq	.L11
	ldr	r3, .L29+20
	ldr	r4, [r3]
	b	.L2
.L25:
	ldr	r0, .L29+24
	bl	printf
	ldr	r0, .L29+28
	bl	panic
	ldr	r3, [r7]
	add	r2, r3, #1
	cmp	r2, r8
	beq	.L28
	cmp	r3, r8
	bne	.L10
	ldr	r3, [r7, #4]
	cmp	r3, #0
	bne	.L14
	b	.L10
.L28:
	ldr	r0, [r7, #4]
	cmp	r0, #0
	beq	.L9
.L8:
	bl	nfsrvd_derefcache
	b	.L9
.L11:
	orr	r2, r2, r1
	str	r3, [r6, #4]
	mov	r0, r5
	str	r2, [r3]
	bl	nfsrvd_delcache
	ldr	r3, .L29+32
	ldr	r4, [r3]
	b	.L2
.L30:
	.align	2
.L29:
	.word	ND_NFSV41
	.word	.LC0
	.word	RC_INPROG
	.word	NFSERR_BADSEQID
	.word	.LC1
	.word	NFSERR_DONTREPLY
	.word	.LC2
	.word	.LC3
	.word	NFSERR_REPLYFROMCACHE
	.size	nfsrv_checkseqid, .-nfsrv_checkseqid
	.comm	RC_INPROG,4,4
	.comm	NFSERR_REPLYFROMCACHE,4,4
	.comm	NFSERR_DONTREPLY,4,4
	.comm	NFSERR_BADSEQID,4,4
	.comm	ND_NFSV41,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
