	.file	"extr_memcpy.c_memcpy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	memcpy
	.type	memcpy, @function
memcpy:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, rsi
	mov	rax, rdi
	mov	r8, rdi
	or	rcx, rdi
	and	ecx, 3
	je	.L11
.L2:
	test	edx, edx
	jle	.L4
	lea	r9d, -1[rdx]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L5:
	movzx	ecx, BYTE PTR [rsi+rdx]
	mov	BYTE PTR [r8+rdx], cl
	mov	rcx, rdx
	add	rdx, 1
	cmp	rcx, r9
	jne	.L5
.L4:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	edx, 3
	jle	.L2
	sub	edx, 4
	mov	r9d, edx
	shr	r9d, 2
	mov	edi, r9d
	lea	r8, 4[0+rdi*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [rsi+rcx]
	mov	DWORD PTR [rax+rcx], edi
	add	rcx, 4
	cmp	rcx, r8
	jne	.L3
	neg	r9d
	lea	r8, [rax+rcx]
	add	rsi, rcx
	lea	edx, [rdx+r9*4]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	memcpy, .-memcpy
	.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_memcpy.c_memcpy.c"
	.text
	.align	2
	.global	memcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	memcpy, %function
memcpy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	orr	r3, r0, r1
	tst	r3, #3
	beq	.L20
.L11:
	cmp	r2, #0
	bxle	lr
	sub	r3, r0, #1
	add	ip, r1, r2
.L14:
	ldrb	r2, [r1], #1	@ zero_extendqisi2
	cmp	r1, ip
	strb	r2, [r3, #1]!
	bne	.L14
	bx	lr
.L20:
	cmp	r2, #3
	ble	.L11
	sub	r2, r2, #4
	lsr	ip, r2, #2
	push	{r4, r5, lr}
	add	r5, ip, #1
	lsl	r3, r5, #2
	sub	lr, r0, #4
	add	r5, r1, r5, lsl #2
.L3:
	ldr	r4, [r1], #4
	cmp	r1, r5
	str	r4, [lr, #4]!
	bne	.L3
	rsb	ip, ip, ip, lsl #30
	add	r2, r2, ip, lsl #2
	cmp	r2, #0
	add	r3, r0, r3
	pople	{r4, r5, pc}
	sub	r3, r3, #1
	add	ip, r1, r2
.L5:
	ldrb	r2, [r1], #1	@ zero_extendqisi2
	cmp	r1, ip
	strb	r2, [r3, #1]!
	bne	.L5
	pop	{r4, r5, pc}
	.size	memcpy, .-memcpy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
