	.file	"extr_em28xx-i2c.c_em2800_i2c_recv_bytes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"preparing read at i2c address 0x%x failed (error=%i)\n"
	.align 8
.LC1:
	.string	"reading from i2c device at 0x%x failed (error=%i)"
	.text
	.p2align 4
	.type	em2800_i2c_recv_bytes, @function
em2800_i2c_recv_bytes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movzx	ebp, sil
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	esi, ebp
	mov	rbx, rdi
	call	em2800_i2c_check_for_device@PLT
	test	eax, eax
	jne	.L6
	mov	r8d, r14d
	mov	rcx, r13
	mov	edx, 3
	xor	esi, esi
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	mov	r12d, eax
	test	eax, eax
	js	.L7
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, eax
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	mov	edx, eax
	call	em28xx_warn@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, ebp
	mov	edx, eax
	lea	rdi, .LC1[rip]
	call	em28xx_warn@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	em2800_i2c_recv_bytes, .-em2800_i2c_recv_bytes
	.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_em28xx-i2c.c_em2800_i2c_recv_bytes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"preparing read at i2c address 0x%x failed (error=%i"
	.ascii	")\012\000"
	.align	2
.LC1:
	.ascii	"reading from i2c device at 0x%x failed (error=%i)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	em2800_i2c_recv_bytes, %function
em2800_i2c_recv_bytes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r6, r2
	mov	r7, r3
	mov	r5, r0
	mov	r8, r1
	bl	em2800_i2c_check_for_device
	subs	r4, r0, #0
	bne	.L6
	str	r7, [sp]
	mov	r1, r4
	mov	r3, r6
	ldr	r4, [r5]
	mov	r0, r5
	mov	r2, #3
	blx	r4
	subs	r4, r0, #0
	blt	.L7
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r1, r8
	mov	r2, r4
	ldr	r0, .L8
	bl	em28xx_warn
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r1, r8
	mov	r2, r4
	ldr	r0, .L8+4
	bl	em28xx_warn
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	em2800_i2c_recv_bytes, .-em2800_i2c_recv_bytes
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
