	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_MemCpy                    ## -- Begin function HPDF_MemCpy
	.p2align	4, 0x90
_HPDF_MemCpy:                           ## @HPDF_MemCpy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	testq	%rdx, %rdx
	jle	LBB0_14
## %bb.1:
	cmpq	$8, %rdx
	jb	LBB0_12
## %bb.2:
	movq	%rax, %rcx
	subq	%rsi, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.3:
	movq	%rdx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx,4), %xmm0
	movups	16(%rsi,%rcx,4), %xmm1
	movups	%xmm0, (%rax,%rcx,4)
	movups	%xmm1, 16(%rax,%rcx,4)
	movups	32(%rsi,%rcx,4), %xmm0
	movups	48(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 32(%rax,%rcx,4)
	movups	%xmm1, 48(%rax,%rcx,4)
	movups	64(%rsi,%rcx,4), %xmm0
	movups	80(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 64(%rax,%rcx,4)
	movups	%xmm1, 80(%rax,%rcx,4)
	movups	96(%rsi,%rcx,4), %xmm0
	movups	112(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 96(%rax,%rcx,4)
	movups	%xmm1, 112(%rax,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%rax,%rcx,4), %r10
	addq	$16, %r10
	leaq	(%rsi,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%r10,%rdi)
	movups	%xmm1, (%r10,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_9
LBB0_10:
	leaq	(%rax,%r8,4), %rax
	cmpq	%rdx, %r8
	je	LBB0_14
## %bb.11:
	andl	$7, %edx
	leaq	(%rsi,%r8,4), %rsi
LBB0_12:
	incq	%rdx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	addq	$4, %rsi
	movl	%ecx, (%rax)
	addq	$4, %rax
	decq	%rdx
	cmpq	$1, %rdx
	ja	LBB0_13
LBB0_14:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_MemCpy                    ; -- Begin function HPDF_MemCpy
	.p2align	2
_HPDF_MemCpy:                           ; @HPDF_MemCpy
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	cmp	x2, #1
	b.lt	LBB0_6
; %bb.1:
	cmp	x2, #16
	b.lo	LBB0_7
; %bb.2:
	sub	x9, x8, x1
	cmp	x9, #64
	b.lo	LBB0_7
; %bb.3:
	and	x11, x2, #0xfffffffffffffff0
	and	x10, x2, #0xf
	lsl	x12, x11, #2
	add	x9, x1, x12
	add	x0, x8, x12
	add	x8, x8, #32
	add	x12, x1, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x8, #-32]
	stp	q2, q3, [x8], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x2
	b.ne	LBB0_8
	b	LBB0_10
LBB0_6:
	mov	x0, x8
	ret
LBB0_7:
	mov	x10, x2
	mov	x9, x1
	mov	x0, x8
LBB0_8:
	add	x8, x10, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	str	w10, [x0], #4
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_9
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
