	.file	"extr_io.c_net_Read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"read error: %s"
	.text
	.p2align 4
	.globl	net_Read
	.type	net_Read, @function
net_Read:
.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, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
.L7:
	xor	eax, eax
	call	vlc_killed@PLT
	test	rax, rax
	jne	.L15
	xor	ecx, ecx
	mov	rdx, rbx
	mov	rsi, rbp
	mov	edi, r13d
	call	vlc_recv_i11e@PLT
	test	eax, eax
	js	.L16
	movsx	r15, eax
	add	r12, r15
	test	eax, eax
	je	.L6
	xor	edi, edi
	cmp	r15, rbx
	setbe	dil
	sub	rbx, r15
	add	rbp, r15
	call	assert@PLT
.L5:
	test	rbx, rbx
	jne	.L7
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
	mov	rdi, QWORD PTR errno[rip]
	cmp	rdi, QWORD PTR EINTR[rip]
	je	.L5
	cmp	rdi, QWORD PTR EAGAIN[rip]
	je	.L5
	call	vlc_strerror_c@PLT
	mov	rdi, r14
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	msg_Err@PLT
	test	r12, r12
	mov	eax, -1
	cmovne	eax, r12d
	add	rsp, 8
	.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
.L15:
	.cfi_restore_state
	xor	eax, eax
	call	vlc_testcancel@PLT
	mov	rax, QWORD PTR EINTR[rip]
	mov	QWORD PTR errno[rip], rax
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, -1
	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
	.cfi_endproc
.LFE0:
	.size	net_Read, .-net_Read
	.comm	errno,8,8
	.comm	WSAEMSGSIZE,8,8
	.comm	EINTR,8,8
	.comm	EAGAIN,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_io.c_net_Read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"read error: %s\000"
	.text
	.align	2
	.global	net_Read
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_Read, %function
net_Read:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	mov	r5, r2
	mov	r4, r3
	mov	r6, #0
	sub	sp, sp, #12
	ldr	r10, .L14
	ldr	r9, .L14+4
	ldr	fp, .L14+8
	str	r0, [sp, #4]
.L7:
	bl	vlc_killed
	subs	r3, r0, #0
	bne	.L12
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	bl	vlc_recv_i11e
	subs	r8, r0, #0
	blt	.L13
	add	r6, r6, r8
	beq	.L6
	cmp	r8, r4
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	add	r5, r5, r8
	sub	r4, r4, r8
.L5:
	cmp	r4, #0
	bne	.L7
.L6:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r0, [r10]
	ldr	r3, [r9]
	cmp	r0, r3
	beq	.L5
	ldr	r3, [fp]
	cmp	r0, r3
	beq	.L5
	bl	vlc_strerror_c
	ldr	r1, .L14+12
	mov	r2, r0
	ldr	r0, [sp, #4]
	bl	msg_Err
	cmp	r6, #0
	movne	r0, r6
	mvneq	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	bl	vlc_testcancel
	mvn	r0, #0
	ldr	r2, .L14+4
	ldr	r3, .L14
	ldr	r2, [r2]
	str	r2, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	errno
	.word	EINTR
	.word	EAGAIN
	.word	.LC0
	.size	net_Read, .-net_Read
	.comm	errno,4,4
	.comm	WSAEMSGSIZE,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
