	.file	"extr_misc.c_memcpy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	memcpy, @function
memcpy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, rdi
	mov	r12, rdi
	mov	rdi, rdx
	shr	rdi, 3
	mov	rcx, rsi
	test	edi, edi
	jle	.L2
	lea	eax, -1[rdi]
	mov	r11, r12
	mov	rdi, rax
	sub	r11, rsi
	lea	rax, 8[rsi+rax*8]
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	r10d, BYTE PTR [rcx]
	lea	r8, [r11+rcx]
	mov	r9, rcx
	add	rcx, 8
	mov	BYTE PTR [r8], r10b
	movzx	r10d, BYTE PTR -7[rcx]
	mov	BYTE PTR 1[r8], r10b
	movzx	r10d, BYTE PTR -6[rcx]
	mov	BYTE PTR 2[r8], r10b
	movzx	r10d, BYTE PTR -5[rcx]
	mov	BYTE PTR 3[r8], r10b
	movzx	r10d, BYTE PTR -4[rcx]
	mov	BYTE PTR 4[r8], r10b
	movzx	r10d, BYTE PTR -3[rcx]
	mov	BYTE PTR 5[r8], r10b
	movzx	r10d, BYTE PTR -2[rcx]
	mov	BYTE PTR 6[r8], r10b
	movzx	r9d, BYTE PTR 7[r9]
	mov	BYTE PTR 7[r8], r9b
	cmp	rax, rcx
	jne	.L3
	movsx	rdi, edi
	lea	rax, 8[0+rdi*8]
	lea	rcx, [rsi+rax]
	add	rax, r12
.L2:
	test	dl, 4
	je	.L4
	movzx	esi, BYTE PTR [rcx]
	add	rax, 4
	add	rcx, 4
	mov	BYTE PTR -4[rax], sil
	movzx	esi, BYTE PTR -3[rcx]
	mov	BYTE PTR -3[rax], sil
	movzx	esi, BYTE PTR -2[rcx]
	mov	BYTE PTR -2[rax], sil
	movzx	esi, BYTE PTR -1[rcx]
	mov	BYTE PTR -1[rax], sil
.L4:
	test	dl, 2
	je	.L5
	movzx	esi, BYTE PTR [rcx]
	add	rax, 2
	add	rcx, 2
	mov	BYTE PTR -2[rax], sil
	movzx	esi, BYTE PTR -1[rcx]
	mov	BYTE PTR -1[rax], sil
.L5:
	and	edx, 1
	je	.L6
	movzx	edx, BYTE PTR [rcx]
	mov	BYTE PTR [rax], dl
.L6:
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.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_misc.c_memcpy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	memcpy, %function
memcpy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	lsrs	ip, r2, #3
	push	{r4, r5, r6, lr}
	beq	.L20
	mov	r3, r1
	add	lr, r1, ip, lsl #3
	lsl	r6, ip, #3
	sub	ip, r0, r1
.L3:
	mov	r4, r3
	ldrb	r5, [r3]	@ zero_extendqisi2
	add	r1, r3, ip
	strb	r5, [r3, ip]
	ldrb	r5, [r3, #1]	@ zero_extendqisi2
	add	r3, r3, #8
	strb	r5, [r1, #1]
	ldrb	r5, [r3, #-6]	@ zero_extendqisi2
	strb	r5, [r1, #2]
	ldrb	r5, [r3, #-5]	@ zero_extendqisi2
	strb	r5, [r1, #3]
	ldrb	r5, [r3, #-4]	@ zero_extendqisi2
	strb	r5, [r1, #4]
	ldrb	r5, [r3, #-3]	@ zero_extendqisi2
	strb	r5, [r1, #5]
	ldrb	r5, [r3, #-2]	@ zero_extendqisi2
	cmp	lr, r3
	strb	r5, [r1, #6]
	ldrb	r4, [r4, #7]	@ zero_extendqisi2
	strb	r4, [r1, #7]
	bne	.L3
	add	r6, r0, r6
.L2:
	tst	r2, #4
	beq	.L4
	ldrb	r3, [lr]	@ zero_extendqisi2
	add	r6, r6, #4
	strb	r3, [r6, #-4]
	ldrb	r3, [lr, #1]	@ zero_extendqisi2
	add	lr, lr, #4
	strb	r3, [r6, #-3]
	ldrb	r3, [lr, #-2]	@ zero_extendqisi2
	strb	r3, [r6, #-2]
	ldrb	r3, [lr, #-1]	@ zero_extendqisi2
	strb	r3, [r6, #-1]
.L4:
	tst	r2, #2
	beq	.L5
	mov	r1, lr
	mov	r3, r6
	ldrb	ip, [r1], #2	@ zero_extendqisi2
	strb	ip, [r3], #2
	ldrb	ip, [lr, #1]	@ zero_extendqisi2
	mov	lr, r1
	strb	ip, [r6, #1]
	mov	r6, r3
.L5:
	tst	r2, #1
	ldrbne	r3, [lr]	@ zero_extendqisi2
	strbne	r3, [r6]
	pop	{r4, r5, r6, pc}
.L20:
	mov	r6, r0
	mov	lr, r1
	b	.L2
	.size	memcpy, .-memcpy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
