	.file	"extr_nfs_vnops.c_nfs_read_rpc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"nfs_read_rpc: error %d, initiating recovery"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"nfsgrace"
	.text
	.p2align 4
	.globl	nfs_read_rpc
	.type	nfs_read_rpc, @function
nfs_read_rpc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	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
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	DWORD PTR 44[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	lea	rax, 68[rsp]
	mov	DWORD PTR 64[rsp], 0
	mov	QWORD PTR 80[rsp], rax
	call	uio_resid@PLT
	mov	edi, ebx
	mov	r12, rax
	call	uio_offset@PLT
	xor	r8d, r8d
	mov	rcx, r12
	mov	rsi, rbp
	mov	edx, eax
	mov	edi, 536
	call	FSDBG_TOP@PLT
	mov	rdi, rbp
	call	NFSTONMP@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	nfs_mount_gone@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	mov	QWORD PTR 48[rsp], rax
	test	rax, rax
	je	.L42
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 104
	.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
.L42:
	.cfi_restore_state
	mov	r12d, DWORD PTR 44[rsp]
	mov	rsi, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR [rbx]
	mov	edi, r12d
	mov	QWORD PTR 24[rsp], rsi
	mov	DWORD PTR 40[rsp], eax
	call	uio_offset@PLT
	mov	edi, r12d
	movsx	r14, eax
	call	uio_resid@PLT
	mov	r13, r14
	mov	r12, rax
	mov	eax, DWORD PTR 40[rsp]
	cmp	DWORD PTR NFS_VER2[rip], eax
	je	.L4
.L7:
	test	r12, r12
	jle	.L18
	mov	QWORD PTR 56[rsp], 0
	lea	rax, 80[rsp]
	mov	QWORD PTR 32[rsp], rax
.L20:
	mov	rax, QWORD PTR 24[rsp]
	mov	rdx, r14
	mov	rsi, rbp
	mov	edi, 536
	cmp	r12, rax
	mov	r13, rax
	cmovle	r13, r12
	xor	r8d, r8d
	mov	rcx, r13
	mov	QWORD PTR 72[rsp], r13
	call	FSDBG@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR NREVOKE[rip], eax
	jne	.L44
	mov	eax, DWORD PTR NFS_VER4[rip]
	cmp	DWORD PTR [rbx], eax
	jl	.L9
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 48[rsp], rax
.L9:
	mov	rax, QWORD PTR 32[rbx]
	mov	edi, r15d
	mov	r11, QWORD PTR [rax]
	mov	QWORD PTR 16[rsp], r11
	call	vfs_context_ucred@PLT
	mov	edi, r15d
	mov	DWORD PTR 8[rsp], eax
	call	vfs_context_thread@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 168
	mov	rsi, r14
	mov	rdi, rbp
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 176
	mov	ecx, eax
	mov	r8d, DWORD PTR 24[rsp]
	xor	r9d, r9d
	mov	r11, QWORD PTR 32[rsp]
	mov	rdx, r13
	call	r11
	pop	rsi
	.cfi_def_cfa_offset 168
	pop	rdi
	.cfi_def_cfa_offset 160
	mov	r8d, eax
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR 32[rbx]
	lea	r8, 64[rsp]
	mov	edx, DWORD PTR 44[rsp]
	mov	rdi, rbp
	mov	rsi, QWORD PTR 80[rsp]
	lea	rcx, 72[rsp]
	call	[QWORD PTR 8[rax]]
	mov	r8d, eax
	mov	eax, DWORD PTR NFS_VER4[rip]
	cmp	DWORD PTR [rbx], eax
	jge	.L45
.L11:
	test	r8d, r8d
	jne	.L6
	mov	rax, QWORD PTR 72[rsp]
	mov	rdx, r12
	mov	esi, DWORD PTR 40[rsp]
	sub	rdx, rax
	add	r14, rax
	cmp	DWORD PTR NFS_VER2[rip], esi
	mov	r12, rdx
	je	.L17
	mov	ecx, DWORD PTR 64[rsp]
	test	ecx, ecx
	jne	.L18
	test	rax, rax
	jne	.L19
.L18:
	xor	r8d, r8d
.L6:
	mov	edi, DWORD PTR 44[rsp]
	mov	DWORD PTR 8[rsp], r8d
	call	uio_resid@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	edx, DWORD PTR 64[rsp]
	mov	rsi, rbp
	mov	rcx, rax
	mov	edi, 536
	call	FSDBG_BOT@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR NFS_VER4[rip]
	cmp	DWORD PTR [rbx], eax
	jl	.L6
	mov	edi, r8d
	mov	DWORD PTR 8[rsp], r8d
	call	nfs_mount_state_error_should_restart@PLT
	mov	r8d, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L6
	mov	rdi, rbx
	add	QWORD PTR 56[rsp], 1
	call	nfs_mount_state_max_restarts@PLT
	cmp	rax, QWORD PTR 56[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	jl	.L6
.L21:
	lea	r9, 28[rbx]
	mov	DWORD PTR 16[rsp], r8d
	mov	rdi, r9
	mov	QWORD PTR 8[rsp], r9
	call	lck_mtx_lock@PLT
	mov	r8d, DWORD PTR 16[rsp]
	mov	r9, QWORD PTR 8[rsp]
	cmp	DWORD PTR NFSERR_GRACE[rip], r8d
	je	.L12
	mov	rax, QWORD PTR 48[rsp]
	cmp	QWORD PTR 16[rbx], rax
	je	.L46
.L12:
	mov	rdi, r9
	mov	DWORD PTR 8[rsp], r8d
	call	lck_mtx_unlock@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR NREVOKE[rip], eax
	mov	r8d, DWORD PTR 8[rsp]
	je	.L13
	mov	r8d, DWORD PTR EIO[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	r13, rax
	ja	.L18
.L19:
	test	rdx, rdx
	jg	.L20
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L4:
	add	r13d, r12d
	jns	.L7
	mov	r15d, DWORD PTR 44[rsp]
	mov	ebx, DWORD PTR EFBIG[rip]
	mov	edi, r15d
	call	uio_resid@PLT
	mov	edi, r15d
	mov	r12, rax
	call	uio_offset@PLT
	mov	r8d, ebx
	mov	rcx, r12
	mov	rsi, rbp
	mov	edx, eax
	mov	edi, 536
	call	FSDBG_BOT@PLT
	mov	r8d, DWORD PTR EFBIG[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L44:
	mov	r8d, DWORD PTR EIO[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	DWORD PTR NFSERR_GRACE[rip], r8d
	je	.L47
.L14:
	mov	rdi, rbx
	call	nfs_mount_state_wait_for_recovery@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L6
	jmp	.L20
.L46:
	mov	edx, r8d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], r9
	mov	DWORD PTR 8[rsp], r8d
	call	NP@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	rdi, rbx
	mov	esi, r8d
	call	nfs_need_recover@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L12
.L47:
	mov	eax, DWORD PTR hz[rip]
	lea	rdi, 24[rbx]
	lea	rdx, .LC1[rip]
	lea	ecx, [rax+rax]
	mov	rax, QWORD PTR PZERO[rip]
	lea	rsi, -1[rax]
	call	tsleep@PLT
	jmp	.L14
.L43:
	call	__stack_chk_fail@PLT
.L45:
	mov	edi, r8d
	mov	DWORD PTR 8[rsp], r8d
	call	nfs_mount_state_error_should_restart@PLT
	mov	r8d, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L11
	mov	rdi, rbx
	add	QWORD PTR 56[rsp], 1
	call	nfs_mount_state_max_restarts@PLT
	cmp	rax, QWORD PTR 56[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	jl	.L11
	jmp	.L21
	.cfi_endproc
.LFE0:
	.size	nfs_read_rpc, .-nfs_read_rpc
	.comm	hz,4,4
	.comm	PZERO,8,8
	.comm	NREVOKE,4,4
	.comm	NFS_VER4,4,4
	.comm	NFS_VER2,4,4
	.comm	NFSERR_GRACE,4,4
	.comm	ENXIO,4,4
	.comm	EIO,4,4
	.comm	EFBIG,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_vnops.c_nfs_read_rpc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nfs_read_rpc: error %d, initiating recovery\000"
	.align	2
.LC1:
	.ascii	"nfsgrace\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nfs_read_rpc
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfs_read_rpc, %function
nfs_read_rpc:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	sub	sp, sp, #68
	mov	r10, r2
	ldr	r2, .L44
	str	r1, [sp, #28]
	add	r3, sp, #52
	mov	r6, r0
	mov	r0, r1
	ldr	r2, [r2]
	str	r2, [sp, #60]
	mov	r2,#0
	mov	r7, r1
	str	r3, [sp, #56]
	str	r5, [sp, #44]
	bl	uio_offset
	mov	r4, r0
	mov	r0, r7
	bl	uio_resid
	mov	r2, r4
	mov	r3, r0
	mov	r1, r6
	str	r5, [sp]
	mov	r0, #536
	bl	FSDBG_TOP
	mov	r0, r6
	bl	NFSTONMP
	mov	r5, r0
	bl	nfs_mount_gone
	subs	r3, r0, #0
	str	r3, [sp, #32]
	beq	.L2
	ldr	r3, .L44+4
	ldr	r4, [r3]
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	mov	r0, r4
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r7, [sp, #28]
	ldr	r3, [r5, #4]
	ldr	r4, [r5]
	mov	r0, r7
	str	r3, [sp, #20]
	str	r4, [sp, #24]
	bl	uio_offset
	mov	r9, r0
	mov	r0, r7
	bl	uio_resid
	ldr	r3, .L44+8
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L4
.L7:
	cmp	r7, #0
	ble	.L39
	mov	r3, #0
	ldr	fp, .L44+12
	str	r3, [sp, #36]
.L21:
	ldr	r3, [sp, #20]
	mov	r2, #0
	cmp	r7, r3
	movlt	r8, r7
	movge	r8, r3
	str	r2, [sp]
	mov	r3, r8
	mov	r2, r9
	mov	r1, r6
	mov	r0, #536
	str	r8, [sp, #48]
	bl	FSDBG
	ldr	r3, .L44+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L40
	ldr	r3, [fp]
	ldr	r2, [r5]
	mov	r0, r10
	cmp	r2, r3
	ldrge	r3, [r5, #8]
	strge	r3, [sp, #32]
	ldr	r3, [r5, #20]
	ldr	r4, [r3]
	bl	vfs_context_thread
	mov	r3, r0
	mov	r0, r10
	str	r3, [sp, #16]
	bl	vfs_context_ucred
	mov	r1, #0
	add	r2, sp, #56
	stm	sp, {r0, r1, r2}
	ldr	r3, [sp, #16]
	mov	r2, r8
	mov	r1, r9
	mov	r0, r6
	blx	r4
	subs	r4, r0, #0
	bne	.L11
	ldr	r3, [r5, #20]
	add	r2, sp, #44
	str	r2, [sp]
	ldr	r4, [r3, #4]
	ldr	r1, [sp, #56]
	add	r3, sp, #48
	mov	r0, r6
	ldr	r2, [sp, #28]
	blx	r4
	ldr	r1, [r5]
	ldr	r3, [fp]
	mov	r4, r0
	cmp	r1, r3
	bge	.L41
.L12:
	cmp	r4, #0
	bne	.L36
	ldr	r3, .L44+8
	ldr	r1, [sp, #24]
	ldr	r2, [r3]
	ldr	r3, [sp, #48]
	cmp	r2, r1
	add	r9, r9, r3
	sub	r7, r7, r3
	beq	.L18
	clz	r3, r3
	ldr	r8, [sp, #44]
	lsr	r3, r3, #5
	cmp	r8, #0
	movne	r3, #1
	cmp	r3, #0
	beq	.L19
.L9:
	ldr	r0, [sp, #28]
	bl	uio_resid
	mov	r2, r8
	mov	r3, r0
	mov	r1, r6
	str	r4, [sp]
	mov	r0, #536
	bl	FSDBG_BOT
	b	.L1
.L11:
	ldr	r2, [r5]
	ldr	r3, [fp]
	cmp	r2, r3
	blt	.L36
	bl	nfs_mount_state_error_should_restart
	cmp	r0, #0
	beq	.L36
	mov	r0, r5
	bl	nfs_mount_state_max_restarts
	ldr	r3, [sp, #36]
	add	r3, r3, #1
	cmp	r3, r0
	str	r3, [sp, #36]
	bgt	.L36
.L24:
	add	r3, r5, #16
	mov	r0, r3
	str	r3, [sp, #16]
	bl	lck_mtx_lock
	ldr	r3, .L44+20
	ldr	r2, [r3]
	ldr	r3, [sp, #16]
	cmp	r2, r4
	beq	.L13
	ldr	r2, [r5, #8]
	ldr	r1, [sp, #32]
	cmp	r2, r1
	beq	.L42
.L13:
	mov	r0, r3
	bl	lck_mtx_unlock
	ldr	r3, .L44+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L14
	ldr	r3, .L44+24
	ldr	r4, [r3]
	b	.L12
.L18:
	cmp	r8, r3
	bls	.L19
.L36:
	ldr	r8, [sp, #44]
	b	.L9
.L19:
	cmp	r7, #0
	bgt	.L21
	b	.L36
.L4:
	cmn	r9, r0
	bpl	.L7
	ldr	r5, [sp, #28]
	mov	r0, r5
	bl	uio_offset
	mov	r4, r0
	mov	r0, r5
	bl	uio_resid
	ldr	r5, .L44+28
	mov	r3, r0
	ldr	ip, [r5]
	mov	r2, r4
	mov	r1, r6
	mov	r0, #536
	str	ip, [sp]
	bl	FSDBG_BOT
	ldr	r4, [r5]
	b	.L1
.L40:
	ldr	r3, .L44+24
	ldr	r8, [sp, #44]
	ldr	r4, [r3]
	b	.L9
.L14:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L43
.L15:
	mov	r0, r5
	bl	nfs_mount_state_wait_for_recovery
	subs	r4, r0, #0
	bne	.L36
	b	.L21
.L42:
	mov	r2, r4
	ldr	r1, .L44+32
	mov	r0, r6
	bl	NP
	mov	r1, r4
	mov	r0, r5
	bl	nfs_need_recover
	ldr	r3, [sp, #16]
	b	.L13
.L43:
	ldr	r2, .L44+36
	ldr	r3, .L44+40
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L44+44
	lsl	r3, r3, #1
	sub	r1, r1, #1
	add	r0, r5, #12
	bl	tsleep
	b	.L15
.L39:
	mov	r4, #0
	b	.L36
.L38:
	bl	__stack_chk_fail
.L41:
	bl	nfs_mount_state_error_should_restart
	cmp	r0, #0
	beq	.L12
	mov	r0, r5
	bl	nfs_mount_state_max_restarts
	ldr	r3, [sp, #36]
	add	r3, r3, #1
	cmp	r0, r3
	str	r3, [sp, #36]
	blt	.L12
	b	.L24
.L45:
	.align	2
.L44:
	.word	.LC2
	.word	ENXIO
	.word	NFS_VER2
	.word	NFS_VER4
	.word	NREVOKE
	.word	NFSERR_GRACE
	.word	EIO
	.word	EFBIG
	.word	.LC0
	.word	PZERO
	.word	hz
	.word	.LC1
	.size	nfs_read_rpc, .-nfs_read_rpc
	.comm	hz,4,4
	.comm	PZERO,4,4
	.comm	NREVOKE,4,4
	.comm	NFS_VER4,4,4
	.comm	NFS_VER2,4,4
	.comm	NFSERR_GRACE,4,4
	.comm	ENXIO,4,4
	.comm	EIO,4,4
	.comm	EFBIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
