	.file	"extr__cdio_stdio.c__stdio_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fread (): EOF encountered"
.LC1:
	.string	"fread (): %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"fread (): short read and no EOF?!?"
	.text
	.p2align 4
	.type	_stdio_read, @function
_stdio_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rsi
	mov	esi, 1
	mov	ecx, DWORD PTR [rbx]
	call	fread@PLT
	mov	r12, rax
	cmp	rbp, rax
	jne	.L7
	mov	rax, r12
	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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	feof@PLT
	test	rax, rax
	je	.L3
	lea	rdi, .LC0[rip]
	call	cdio_debug@PLT
	mov	edi, DWORD PTR [rbx]
	call	clearerr@PLT
	mov	rax, r12
	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
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	ferror@PLT
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	cdio_error@PLT
	mov	edi, DWORD PTR [rbx]
	call	clearerr@PLT
	mov	rax, r12
	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
.L4:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	cdio_debug@PLT
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_stdio_read, .-_stdio_read
	.comm	errno,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__cdio_stdio.c__stdio_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fread (): EOF encountered\000"
	.align	2
.LC1:
	.ascii	"fread (): %s\000"
	.align	2
.LC2:
	.ascii	"fread (): short read and no EOF?!?\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_stdio_read, %function
_stdio_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	ldr	r3, [r4]
	mov	r1, #1
	mov	r6, r2
	bl	fread
	cmp	r6, r0
	mov	r5, r0
	bne	.L7
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, [r4]
	bl	feof
	cmp	r0, #0
	beq	.L3
	ldr	r0, .L8
	bl	cdio_debug
	ldr	r0, [r4]
	bl	clearerr
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r0, [r4]
	bl	ferror
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L8+4
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r0
	ldr	r0, .L8+8
	bl	cdio_error
	ldr	r0, [r4]
	bl	clearerr
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r0, .L8+12
	bl	cdio_debug
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	errno
	.word	.LC1
	.word	.LC2
	.size	_stdio_read, .-_stdio_read
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
