	.file	"extr_nfs3xdr.c_nfs3svc_decode_writeargs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nfs3svc_decode_writeargs
	.type	nfs3svc_decode_writeargs, @function
nfs3svc_decode_writeargs:
.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
	mov	r14, rsi
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 24[rdi]
	call	svc_max_payload@PLT
	mov	rdi, r14
	mov	r13, QWORD PTR 16[rbx]
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbx]
	lea	rsi, 44[rbp]
	mov	QWORD PTR 8[rsp], rax
	call	decode_fh@PLT
	test	rax, rax
	je	.L4
	lea	rsi, 40[rbp]
	mov	rdi, rax
	call	xdr_decode_hyper@PLT
	mov	edi, DWORD PTR [rax]
	mov	r15, rax
	lea	r14, 12[r15]
	call	ntohl@PLT
	mov	edi, DWORD PTR 4[r15]
	mov	QWORD PTR 0[rbp], rax
	call	ntohl@PLT
	mov	edi, DWORD PTR 8[r15]
	mov	QWORD PTR 32[rbp], rax
	call	ntohl@PLT
	movsx	rdx, DWORD PTR 8[r13]
	mov	rsi, QWORD PTR 0[r13]
	mov	DWORD PTR 8[rbp], eax
	mov	rcx, rdx
	add	rdx, rsi
	cmp	r14, rdx
	ja	.L4
	mov	edx, eax
	cmp	QWORD PTR 0[rbp], rdx
	je	.L8
.L4:
	xor	eax, eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L8:
	.cfi_restore_state
	mov	rdx, r14
	mov	edi, eax
	sub	rdx, rsi
	mov	rsi, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rsp], rdx
	add	ecx, DWORD PTR 8[rsi]
	add	ecx, DWORD PTR [rbx]
	sub	ecx, edx
	mov	ebx, ecx
	call	XDR_QUADLEN@PLT
	sal	eax, 2
	cmp	eax, ebx
	ja	.L4
	cmp	QWORD PTR 0[rbp], r12
	mov	rdx, QWORD PTR 8[rsp]
	jbe	.L5
	mov	QWORD PTR 0[rbp], r12
	mov	DWORD PTR 8[rbp], r12d
.L5:
	mov	eax, DWORD PTR 8[r13]
	mov	QWORD PTR 24[rbp], r14
	sub	eax, edx
	mov	DWORD PTR 16[rbp], eax
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	nfs3svc_decode_writeargs, .-nfs3svc_decode_writeargs
	.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_nfs3xdr.c_nfs3svc_decode_writeargs.c"
	.text
	.align	2
	.global	nfs3svc_decode_writeargs
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfs3svc_decode_writeargs, %function
nfs3svc_decode_writeargs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r6, [r0, #12]
	bl	svc_max_payload
	add	r1, r6, #24
	mov	r7, r0
	mov	r0, r4
	ldr	r8, [r5, #8]
	ldr	r9, [r5, #4]
	bl	decode_fh
	cmp	r0, #0
	beq	.L4
	add	r1, r6, #20
	bl	xdr_decode_hyper
	mov	r4, r0
	ldr	r0, [r0]
	bl	ntohl
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r6]
	bl	ntohl
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [r6, #16]
	bl	ntohl
	ldm	r8, {r1, r2}
	add	r4, r4, #12
	add	ip, r1, r2
	cmp	r4, ip
	str	r0, [r6, #4]
	bhi	.L4
	ldr	ip, [r6]
	cmp	r0, ip
	beq	.L8
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	ip, [r9, #4]
	ldr	r3, [r5]
	add	r5, r2, ip
	add	r5, r5, r3
	sub	r9, r4, r1
	bl	XDR_QUADLEN
	sub	r5, r5, r9
	cmp	r5, r0, lsl #2
	bcc	.L4
	ldr	r1, [r8, #4]
	ldr	r3, [r6]
	sub	r1, r1, r9
	cmp	r3, r7
	mov	r0, #1
	strhi	r7, [r6]
	strhi	r7, [r6, #4]
	str	r4, [r6, #12]
	str	r1, [r6, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	nfs3svc_decode_writeargs, .-nfs3svc_decode_writeargs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
