	.file	"extr_connect.c_cifs_readv_from_socket.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Received no data or error: expecting %d got %d"
	.text
	.p2align 4
	.globl	cifs_readv_from_socket
	.type	cifs_readv_from_socket, @function
cifs_readv_from_socket:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	mov	esi, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	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
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	get_server_iovec@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	test	r12d, r12d
	je	.L13
	mov	rbx, rax
	lea	rax, 16[rsp]
	xor	r13d, r13d
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	call	server_unresponsive@PLT
	test	rax, rax
	jne	.L18
.L4:
	mov	ecx, r13d
	mov	edx, r14d
	mov	rsi, r15
	mov	rdi, rbx
	call	kvec_array_init@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	rsi, QWORD PTR 8[rsp]
	xor	r9d, r9d
	mov	rdx, rbx
	mov	ecx, eax
	mov	r8d, r12d
	call	kernel_recvmsg@PLT
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR CifsExiting[rip]
	je	.L21
	cmp	rdx, QWORD PTR CifsNeedReconnect[rip]
	je	.L19
	mov	esi, eax
	add	esi, DWORD PTR ERESTARTSYS[rip]
	je	.L7
	mov	ecx, eax
	add	ecx, DWORD PTR EAGAIN[rip]
	je	.L7
	mov	esi, eax
	add	esi, DWORD PTR EINTR[rip]
	je	.L7
	test	eax, eax
	jle	.L22
	add	r13d, eax
	sub	r12d, eax
	jne	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 56
	.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
.L7:
	.cfi_restore_state
	mov	edi, 1000
	mov	esi, 2000
	call	usleep_range@PLT
	mov	rdi, rbp
	call	server_unresponsive@PLT
	test	rax, rax
	je	.L4
.L18:
	mov	r13d, DWORD PTR EAGAIN[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	ecx, eax
	mov	edx, r12d
	mov	edi, 1
	lea	rsi, .LC0[rip]
	call	cFYI@PLT
.L19:
	mov	rdi, rbp
	call	cifs_reconnect@PLT
	mov	r13d, DWORD PTR EAGAIN[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r13d, DWORD PTR ESHUTDOWN[rip]
	neg	r13d
	jmp	.L1
.L13:
	xor	r13d, r13d
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cifs_readv_from_socket, .-cifs_readv_from_socket
	.comm	ESHUTDOWN,4,4
	.comm	ERESTARTSYS,4,4
	.comm	ENOMEM,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.comm	CifsNeedReconnect,8,8
	.comm	CifsExiting,8,8
	.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_connect.c_cifs_readv_from_socket.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Received no data or error: expecting %d got %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cifs_readv_from_socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	cifs_readv_from_socket, %function
cifs_readv_from_socket:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r2
	mov	r2, r1
	sub	sp, sp, #36
	mov	r6, r3
	ldr	r3, .L25
	str	r2, [sp, #12]
	mov	r1, r9
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	get_server_iovec
	subs	r8, r0, #0
	beq	.L21
	mov	r7, #0
	cmp	r6, r7
	str	r7, [sp, #24]
	str	r7, [sp, #20]
	beq	.L13
	ldr	r10, .L25+4
	ldr	fp, .L25+8
.L11:
	mov	r0, r5
	bl	server_unresponsive
	subs	r4, r0, #0
	bne	.L18
.L4:
	mov	r3, r7
	mov	r2, r9
	ldr	r1, [sp, #12]
	mov	r0, r8
	bl	kvec_array_init
	str	r4, [sp, #4]
	str	r6, [sp]
	mov	r3, r0
	mov	r2, r8
	ldr	r0, [r5, #4]
	add	r1, sp, #20
	bl	kernel_recvmsg
	ldr	r3, [r5]
	ldr	r2, [r10]
	cmp	r3, r2
	beq	.L22
	ldr	r2, [fp]
	cmp	r3, r2
	beq	.L19
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L7
	ldr	r3, .L25+16
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L7
	ldr	r3, .L25+20
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L7
	cmp	r0, #0
	ble	.L23
	subs	r6, r6, r0
	add	r7, r7, r0
	bne	.L11
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r1, #2000
	mov	r0, #1000
	bl	usleep_range
	mov	r0, r5
	bl	server_unresponsive
	subs	r4, r0, #0
	beq	.L4
.L18:
	ldr	r3, .L25+16
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L23:
	mov	r3, r0
	mov	r2, r6
	mov	r0, #1
	ldr	r1, .L25+24
	bl	cFYI
.L19:
	mov	r0, r5
	bl	cifs_reconnect
	ldr	r3, .L25+16
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L21:
	ldr	r3, .L25+28
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L22:
	ldr	r3, .L25+32
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L13:
	mov	r7, r6
	b	.L1
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	CifsExiting
	.word	CifsNeedReconnect
	.word	ERESTARTSYS
	.word	EAGAIN
	.word	EINTR
	.word	.LC0
	.word	ENOMEM
	.word	ESHUTDOWN
	.size	cifs_readv_from_socket, .-cifs_readv_from_socket
	.comm	ESHUTDOWN,4,4
	.comm	ERESTARTSYS,4,4
	.comm	ENOMEM,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.comm	CifsNeedReconnect,4,4
	.comm	CifsExiting,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
