	.file	"extr_i2c-sh7760.c_sh7760_i2c_mrecv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sh7760_i2c_mrecv, @function
sh7760_i2c_mrecv:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 254
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR IDF_RECV[rip]
	or	DWORD PTR 8[rdi], eax
	mov	esi, DWORD PTR I2CSAR[rip]
	call	OUT32@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR I2CMAR[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax]
	lea	edx, 1[rdx+rdx]
	call	OUT32@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR I2CFCR[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR FIFO_SIZE[rip]
	lea	ebx, -1[rdx]
	cmp	edx, eax
	lea	ecx, -1[rax]
	mov	edx, DWORD PTR FCR_RFRST[rip]
	cmovge	ebx, ecx
	or	edx, DWORD PTR FCR_TFRST[rip]
	call	OUT32@PLT
	mov	esi, DWORD PTR I2CFCR[rip]
	mov	rdi, rbp
	sal	ebx, 4
	movzx	edx, bl
	or	edx, DWORD PTR FCR_TFRST[rip]
	call	OUT32@PLT
	mov	esi, DWORD PTR I2CMSR[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	OUT32@PLT
	mov	esi, DWORD PTR I2CMCR[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR MCR_MIE[rip]
	or	edx, DWORD PTR MCR_ESG[rip]
	call	OUT32@PLT
	mov	esi, DWORD PTR I2CMIER[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR MIE_MNRE[rip]
	or	edx, DWORD PTR MIE_MALE[rip]
	or	edx, DWORD PTR MIE_MSTE[rip]
	or	edx, DWORD PTR MIE_MATE[rip]
	call	OUT32@PLT
	mov	edx, DWORD PTR FIER_RXIE[rip]
	mov	esi, DWORD PTR I2CFIER[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	OUT32@PLT
	.cfi_endproc
.LFE0:
	.size	sh7760_i2c_mrecv, .-sh7760_i2c_mrecv
	.comm	MIE_MSTE,4,4
	.comm	MIE_MNRE,4,4
	.comm	MIE_MATE,4,4
	.comm	MIE_MALE,4,4
	.comm	MCR_MIE,4,4
	.comm	MCR_ESG,4,4
	.comm	IDF_RECV,4,4
	.comm	I2CSAR,4,4
	.comm	I2CMSR,4,4
	.comm	I2CMIER,4,4
	.comm	I2CMCR,4,4
	.comm	I2CMAR,4,4
	.comm	I2CFIER,4,4
	.comm	I2CFCR,4,4
	.comm	FIFO_SIZE,4,4
	.comm	FIER_RXIE,4,4
	.comm	FCR_TFRST,4,4
	.comm	FCR_RFRST,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_i2c-sh7760.c_sh7760_i2c_mrecv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sh7760_i2c_mrecv, %function
sh7760_i2c_mrecv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r2, .L6
	ldr	r3, [r0, #4]
	ldr	r1, [r2]
	ldr	r2, .L6+4
	orr	r3, r3, r1
	str	r3, [r0, #4]
	ldr	r1, [r2]
	mov	r2, #254
	bl	OUT32
	ldr	r2, [r4]
	ldr	r3, .L6+8
	ldr	r2, [r2]
	ldr	r1, [r3]
	lsl	r2, r2, #1
	mov	r0, r4
	orr	r2, r2, #1
	bl	OUT32
	ldr	r2, [r4]
	ldr	r3, .L6+12
	ldr	r2, [r2, #4]
	ldr	r5, [r3]
	ldr	r7, .L6+16
	ldr	r3, .L6+20
	cmp	r2, r5
	sublt	r5, r2, #1
	ldr	r6, .L6+24
	ldr	r2, [r3]
	ldr	r3, [r7]
	subge	r5, r5, #1
	ldr	r1, [r6]
	orr	r2, r2, r3
	mov	r0, r4
	bl	OUT32
	ldr	r3, [r7]
	lsl	r2, r5, #4
	and	r2, r2, #255
	ldr	r1, [r6]
	orr	r2, r2, r3
	mov	r0, r4
	bl	OUT32
	ldr	r3, .L6+28
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	OUT32
	ldr	r2, .L6+32
	ldr	r3, .L6+36
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L6+40
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	OUT32
	ldr	r3, .L6+44
	ldr	r2, .L6+48
	ldr	r0, .L6+52
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L6+56
	ldr	r0, [r0]
	orr	r3, r3, r2
	ldr	r2, [r1]
	ldr	r1, .L6+60
	orr	r3, r3, r0
	orr	r2, r3, r2
	mov	r0, r4
	ldr	r1, [r1]
	bl	OUT32
	ldr	r2, .L6+64
	ldr	r3, .L6+68
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, [r2]
	ldr	r1, [r3]
	b	OUT32
.L7:
	.align	2
.L6:
	.word	IDF_RECV
	.word	I2CSAR
	.word	I2CMAR
	.word	FIFO_SIZE
	.word	FCR_TFRST
	.word	FCR_RFRST
	.word	I2CFCR
	.word	I2CMSR
	.word	MCR_MIE
	.word	MCR_ESG
	.word	I2CMCR
	.word	MIE_MNRE
	.word	MIE_MALE
	.word	MIE_MSTE
	.word	MIE_MATE
	.word	I2CMIER
	.word	FIER_RXIE
	.word	I2CFIER
	.size	sh7760_i2c_mrecv, .-sh7760_i2c_mrecv
	.comm	MIE_MSTE,4,4
	.comm	MIE_MNRE,4,4
	.comm	MIE_MATE,4,4
	.comm	MIE_MALE,4,4
	.comm	MCR_MIE,4,4
	.comm	MCR_ESG,4,4
	.comm	IDF_RECV,4,4
	.comm	I2CSAR,4,4
	.comm	I2CMSR,4,4
	.comm	I2CMIER,4,4
	.comm	I2CMCR,4,4
	.comm	I2CMAR,4,4
	.comm	I2CFIER,4,4
	.comm	I2CFCR,4,4
	.comm	FIFO_SIZE,4,4
	.comm	FIER_RXIE,4,4
	.comm	FCR_TFRST,4,4
	.comm	FCR_RFRST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
