	.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: %d\n"
	.text
	.p2align 4
	.type	cifs_readv_from_socket, @function
cifs_readv_from_socket:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	QWORD PTR 8[rsi], 0
	mov	QWORD PTR [rsi], 0
.L2:
	mov	rdi, rbx
	call	msg_data_left@PLT
	test	rax, rax
	je	.L1
.L14:
	xor	eax, eax
	call	try_to_freeze@PLT
	mov	rdi, rbp
	call	zero_credits@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L23
	call	server_unresponsive@PLT
	test	rax, rax
	jne	.L24
	mov	rdi, rbp
	call	cifs_rdma_enabled@PLT
	test	rax, rax
	je	.L6
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	jne	.L26
.L6:
	mov	edi, DWORD PTR 8[rbp]
	xor	edx, edx
	mov	rsi, rbx
	call	sock_recvmsg@PLT
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR CifsExiting[rip]
	je	.L27
.L8:
	cmp	rdx, QWORD PTR CifsNeedReconnect[rip]
	je	.L22
	mov	ecx, eax
	add	ecx, DWORD PTR ERESTARTSYS[rip]
	je	.L10
	mov	esi, eax
	add	esi, DWORD PTR EAGAIN[rip]
	je	.L10
	mov	ecx, eax
	add	ecx, DWORD PTR EINTR[rip]
	je	.L10
	test	eax, eax
	jle	.L28
	mov	rdi, rbx
	add	r12d, eax
	call	msg_data_left@PLT
	test	rax, rax
	jne	.L14
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, 2000
	mov	edi, 1000
	call	usleep_range@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rsi, rbx
	call	smbd_recv@PLT
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR CifsExiting[rip]
	jne	.L8
.L27:
	mov	r12d, DWORD PTR ESHUTDOWN[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	edi, DWORD PTR FYI[rip]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	cifs_dbg@PLT
.L22:
	mov	rdi, rbp
.L23:
	call	cifs_reconnect@PLT
.L24:
	mov	r12d, DWORD PTR ECONNABORTED[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cifs_readv_from_socket, .-cifs_readv_from_socket
	.comm	FYI,4,4
	.comm	ESHUTDOWN,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EINTR,4,4
	.comm	ECONNABORTED,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: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cifs_readv_from_socket, %function
cifs_readv_from_socket:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, #0
	mov	r5, r1
	mov	r4, r0
	ldr	r7, .L29
	ldr	r8, .L29+4
	ldr	r9, .L29+8
	ldr	r10, .L29+12
	ldr	fp, .L29+16
	str	r6, [r1, #4]
	str	r6, [r1]
.L2:
	mov	r0, r5
	bl	msg_data_left
	cmp	r0, #0
	beq	.L1
.L14:
	bl	try_to_freeze
	mov	r0, r4
	bl	zero_credits
	cmp	r0, #0
	mov	r0, r4
	bne	.L23
	bl	server_unresponsive
	cmp	r0, #0
	bne	.L24
	mov	r0, r4
	bl	cifs_rdma_enabled
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L26
.L6:
	mov	r2, #0
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	sock_recvmsg
	ldr	r3, [r4]
	ldr	r2, [r7]
	cmp	r3, r2
	beq	.L27
.L8:
	ldr	r2, [r8]
	cmp	r3, r2
	beq	.L22
	ldr	r3, [r9]
	cmn	r0, r3
	beq	.L10
	ldr	r3, [r10]
	cmn	r0, r3
	beq	.L10
	ldr	r3, [fp]
	cmn	r0, r3
	beq	.L10
	cmp	r0, #0
	ble	.L28
	add	r6, r6, r0
	mov	r0, r5
	bl	msg_data_left
	cmp	r0, #0
	bne	.L14
.L1:
	mov	r0, r6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r1, #2000
	mov	r0, #1000
	bl	usleep_range
	b	.L2
.L26:
	mov	r1, r5
	bl	smbd_recv
	ldr	r3, [r4]
	ldr	r2, [r7]
	cmp	r3, r2
	bne	.L8
.L27:
	ldr	r3, .L29+20
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	ldr	r3, .L29+24
	mov	r2, r0
	ldr	r1, .L29+28
	ldr	r0, [r3]
	bl	cifs_dbg
.L22:
	mov	r0, r4
.L23:
	bl	cifs_reconnect
.L24:
	ldr	r3, .L29+32
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	.align	2
.L29:
	.word	CifsExiting
	.word	CifsNeedReconnect
	.word	ERESTARTSYS
	.word	EAGAIN
	.word	EINTR
	.word	ESHUTDOWN
	.word	FYI
	.word	.LC0
	.word	ECONNABORTED
	.size	cifs_readv_from_socket, .-cifs_readv_from_socket
	.comm	FYI,4,4
	.comm	ESHUTDOWN,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EINTR,4,4
	.comm	ECONNABORTED,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
