	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snappy_copy
_snappy_copy:                           ## @snappy_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%r8d, %eax
	movl	%ecx, %r8d
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	sarq	$2, %rbx
	cmpq	%r8, %rbx
	jl	LBB0_2
## %bb.1:
	cmpl	%eax, %edx
	jl	LBB0_2
## %bb.3:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.4:
	movl	%eax, %r10d
	xorl	%r9d, %r9d
	cmpl	$8, %eax
	jb	LBB0_14
## %bb.5:
	cmpl	$8, %ecx
	jb	LBB0_14
## %bb.6:
	movl	%r10d, %r9d
	andl	$-8, %r9d
	leaq	-8(%r9), %rdx
	movq	%rdx, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movl	%ecx, %r11d
	andl	$3, %r11d
	cmpq	$24, %rdx
	jae	LBB0_8
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	andq	$-4, %rcx
	movl	$28, %edx
	subq	%r8, %rdx
	leaq	(%rsi,%rdx,4), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-112(%rdi,%rdx,4), %xmm0
	movups	-96(%rdi,%rdx,4), %xmm1
	movups	%xmm0, (%rsi,%rdx,4)
	movups	%xmm1, 16(%rsi,%rdx,4)
	movups	-80(%rdi,%rdx,4), %xmm0
	movups	-64(%rdi,%rdx,4), %xmm1
	movups	%xmm0, 32(%rsi,%rdx,4)
	movups	%xmm1, 48(%rsi,%rdx,4)
	movups	-48(%rdi,%rdx,4), %xmm0
	movups	-32(%rdi,%rdx,4), %xmm1
	movups	%xmm0, 64(%rsi,%rdx,4)
	movups	%xmm1, 80(%rsi,%rdx,4)
	movups	-16(%rdi,%rdx,4), %xmm0
	movups	(%rdi,%rdx,4), %xmm1
	movups	%xmm0, 96(%rsi,%rdx,4)
	movups	%xmm1, 112(%rsi,%rdx,4)
	addq	$32, %rdx
	addq	$-4, %rcx
	jne	LBB0_9
LBB0_10:
	testq	%r11, %r11
	je	LBB0_13
## %bb.11:
	leaq	(%rsi,%rdx,4), %rcx
	addq	$16, %rcx
	leaq	(,%r8,4), %rdx
	negq	%rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdx), %xmm0
	movups	(%rcx,%rdx), %xmm1
	movups	%xmm0, -16(%rcx)
	movups	%xmm1, (%rcx)
	addq	$32, %rcx
	decq	%r11
	jne	LBB0_12
LBB0_13:
	cmpq	%r10, %r9
	je	LBB0_21
LBB0_14:
	movq	%r9, %r11
	notq	%r11
	addq	%r10, %r11
	movq	%r10, %rdx
	andq	$3, %rdx
	je	LBB0_18
## %bb.15:
	leaq	(%rsi,%r9,4), %rdi
	leaq	(,%r8,4), %r14
	negq	%r14
	negq	%rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r14), %ecx
	movl	%ecx, (%rdi)
	decq	%rbx
	addq	$4, %rdi
	cmpq	%rbx, %rdx
	jne	LBB0_16
## %bb.17:
	subq	%rbx, %r9
LBB0_18:
	cmpq	$3, %r11
	jb	LBB0_21
## %bb.19:
	subq	%r9, %r10
	leaq	(%rsi,%r9,4), %rcx
	addq	$12, %rcx
	shlq	$2, %r8
	negq	%r8
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	-12(%rcx,%r8), %edx
	movl	%edx, -12(%rcx)
	movl	-8(%rcx,%r8), %edx
	movl	%edx, -8(%rcx)
	movl	-4(%rcx,%r8), %edx
	movl	%edx, -4(%rcx)
	movl	(%rcx,%r8), %edx
	movl	%edx, (%rcx)
	addq	$16, %rcx
	addq	$-4, %r10
	jne	LBB0_20
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_snappy_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snappy_copy
_snappy_copy:                           ; @snappy_copy
	.cfi_startproc
; %bb.0:
	mov	w8, w3
	sub	x9, x1, x0
	cmp	x8, x9, asr #2
	ccmp	w2, w4, #8, le
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_2:
	cmp	w4, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x10, #0
	mov	w9, w4
	cmp	w4, #16
	b.lo	LBB0_8
; %bb.4:
	cmp	w3, #16
	b.lo	LBB0_8
; %bb.5:
	and	x10, x9, #0xfffffff0
	neg	x11, x8, lsl #2
	add	x12, x1, #32
	mov	x13, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x14, x12, x11
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14]
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x9
	b.eq	LBB0_10
LBB0_8:
	add	x11, x1, x10, lsl #2
	sub	x9, x9, x10
	neg	x8, x8, lsl #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x11, x8]
	str	w10, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x4
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_snappy_copy
.subsections_via_symbols
