	.file	"extr_mr97310a.c_mr_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reg read [%02x] error %d\n"
	.text
	.p2align 4
	.type	mr_read, @function
mr_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	mov	esi, 3
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	r13, QWORD PTR [rdi]
	mov	edi, DWORD PTR 8[rdi]
	call	usb_rcvbulkpipe@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	ecx, r12d
	xor	r8d, r8d
	mov	esi, eax
	mov	r9d, 500
	mov	rdx, r13
	call	usb_bulk_msg@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L5
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR [rax]
	call	pr_err@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mr_read, .-mr_read
	.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_mr97310a.c_mr_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reg read [%02x] error %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mr_read, %function
mr_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0, #4]
	mov	r4, r1
	sub	sp, sp, #8
	mov	r5, r0
	mov	r1, #3
	mov	r0, r6
	bl	usb_rcvbulkpipe
	mov	lr, #500
	mov	ip, #0
	mov	r1, r0
	mov	r3, r4
	ldr	r2, [r5]
	mov	r0, r6
	stm	sp, {ip, lr}
	bl	usb_bulk_msg
	subs	r4, r0, #0
	blt	.L5
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, [r5]
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, .L6
	bl	pr_err
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	mr_read, .-mr_read
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
