	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_sfn
_cp_sfn:                                ## @cp_sfn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r15
	movsbl	(%r15), %ebx
	movq	%rdi, %rdx
	cmpl	$32, %ebx
	je	LBB0_41
## %bb.1:
	movl	$9, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, -2(%r15,%rax)
	leaq	-1(%rax), %rax
	je	LBB0_2
## %bb.3:
	leal	-1(%rax), %edx
	movq	%rdi, %r8
	testl	$-2147483648, %edx              ## imm = 0x80000000
	jne	LBB0_22
## %bb.4:
	movl	%eax, %r9d
	leaq	4(%rdi), %r8
	movl	%ebx, (%rdi)
	cmpq	$1, %r9
	je	LBB0_22
## %bb.5:
	leaq	-1(%r9), %r10
	movl	$1, %ecx
	cmpq	$8, %r10
	jb	LBB0_16
## %bb.6:
	leaq	(%r15,%r9), %rbx
	cmpq	%r8, %rbx
	jbe	LBB0_8
## %bb.7:
	leaq	(%rdi,%r9,4), %r11
	leaq	1(%r15), %rbx
	cmpq	%r11, %rbx
	jb	LBB0_16
LBB0_8:
	movq	%r10, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rbx
	movq	%rbx, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	movl	%eax, %r14d
	decq	%r14
	andq	$-8, %r14
	addq	$-8, %r14
	shrq	$3, %r14
	incq	%r14
	andq	$-2, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	pmovsxbd	1(%r15,%rbx), %xmm0
	pmovsxbd	5(%r15,%rbx), %xmm1
	movdqu	%xmm0, 4(%rdi,%rbx,4)
	movdqu	%xmm1, 20(%rdi,%rbx,4)
	pmovsxbd	9(%r15,%rbx), %xmm0
	pmovsxbd	13(%r15,%rbx), %xmm1
	movdqu	%xmm0, 36(%rdi,%rbx,4)
	movdqu	%xmm1, 52(%rdi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %r14
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	testb	$1, %r11b
	je	LBB0_14
## %bb.13:
	movq	%rbx, %r11
	orq	$1, %r11
	pmovsxbd	(%r15,%r11), %xmm0
	pmovsxbd	4(%r15,%r11), %xmm1
	movdqu	%xmm0, (%r8,%rbx,4)
	movdqu	%xmm1, 16(%r8,%rbx,4)
LBB0_14:
	leaq	(%r8,%rcx,4), %r8
	cmpq	%rcx, %r10
	je	LBB0_22
## %bb.15:
	orq	$1, %rcx
LBB0_16:
	movl	%eax, %ebx
	subl	%ecx, %ebx
	movq	%rcx, %rdx
	notq	%rdx
	addq	%rdx, %r9
	testb	$7, %bl
	je	LBB0_19
## %bb.17:
	movl	%eax, %edx
	subb	%cl, %dl
	movzbl	%dl, %ebx
	andl	$7, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rcx), %edx
	movl	%edx, (%r8)
	addq	$4, %r8
	incq	%rcx
	decq	%rbx
	jne	LBB0_18
LBB0_19:
	cmpq	$7, %r9
	jb	LBB0_22
## %bb.20:
	movl	%eax, %eax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rcx), %edx
	movl	%edx, (%r8)
	movsbl	1(%r15,%rcx), %edx
	movl	%edx, 4(%r8)
	movsbl	2(%r15,%rcx), %edx
	movl	%edx, 8(%r8)
	movsbl	3(%r15,%rcx), %edx
	movl	%edx, 12(%r8)
	movsbl	4(%r15,%rcx), %edx
	movl	%edx, 16(%r8)
	movsbl	5(%r15,%rcx), %edx
	movl	%edx, 20(%r8)
	movsbl	6(%r15,%rcx), %edx
	movl	%edx, 24(%r8)
	movsbl	7(%r15,%rcx), %edx
	movl	%edx, 28(%r8)
	addq	$32, %r8
	addq	$8, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_21
LBB0_22:
	movq	8(%rsi), %r14
	cmpb	$32, (%r14)
	jne	LBB0_24
## %bb.23:
	movq	%r8, %rdx
	jmp	LBB0_41
LBB0_24:
	movl	$46, (%r8)
	movl	$4, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, -2(%r14,%rcx)
	leaq	-1(%rcx), %rcx
	je	LBB0_25
## %bb.26:
	leaq	4(%r8), %rdx
	leal	-1(%rcx), %esi
	testl	$-2147483648, %esi              ## imm = 0x80000000
	jne	LBB0_41
## %bb.27:
	movl	%ecx, %r9d
	cmpq	$8, %r9
	jb	LBB0_28
## %bb.29:
	leaq	(%r14,%r9), %rsi
	cmpq	%rdx, %rsi
	jbe	LBB0_32
## %bb.30:
	leaq	(%r8,%r9,4), %rsi
	addq	$4, %rsi
	cmpq	%rsi, %r14
	jae	LBB0_32
LBB0_28:
	xorl	%eax, %eax
LBB0_35:
	movl	%ecx, %ebx
	subl	%eax, %ebx
	movq	%rax, %rsi
	notq	%rsi
	addq	%rsi, %r9
	testb	$7, %bl
	je	LBB0_38
## %bb.36:
	movl	%ecx, %ebx
	subb	%al, %bl
	movzbl	%bl, %ebx
	andl	$7, %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rax), %esi
	movl	%esi, (%rdx)
	incq	%rax
	addq	$4, %rdx
	decq	%rbx
	jne	LBB0_37
LBB0_38:
	cmpq	$7, %r9
	jb	LBB0_41
## %bb.39:
	movl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rax), %esi
	movl	%esi, (%rdx)
	movsbl	1(%r14,%rax), %esi
	movl	%esi, 4(%rdx)
	movsbl	2(%r14,%rax), %esi
	movl	%esi, 8(%rdx)
	movsbl	3(%r14,%rax), %esi
	movl	%esi, 12(%rdx)
	movsbl	4(%r14,%rax), %esi
	movl	%esi, 16(%rdx)
	movsbl	5(%r14,%rax), %esi
	movl	%esi, 20(%rdx)
	movsbl	6(%r14,%rax), %esi
	movl	%esi, 24(%rdx)
	movsbl	7(%r14,%rax), %esi
	movl	%esi, 28(%rdx)
	addq	$8, %rax
	addq	$32, %rdx
	cmpq	%rax, %rcx
	jne	LBB0_40
LBB0_41:
	movl	$0, (%rdx)
	cmpl	$5, (%rdi)
	jne	LBB0_43
## %bb.42:
	movl	$229, (%rdi)
LBB0_43:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	%ecx, %r11d
	movl	%ecx, %r10d
	andl	$7, %r10d
	movq	%r9, %rax
	subq	%r10, %rax
	leaq	(%rdx,%rax,4), %rdx
	subq	%r10, %r11
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	pmovsxbd	(%r14,%rbx), %xmm0
	pmovsxbd	4(%r14,%rbx), %xmm1
	movdqu	%xmm0, 4(%r8,%rbx,4)
	movdqu	%xmm1, 20(%r8,%rbx,4)
	addq	$8, %rbx
	cmpq	%rbx, %r11
	jne	LBB0_33
## %bb.34:
	testq	%r10, %r10
	jne	LBB0_35
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cp_sfn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_sfn
_cp_sfn:                                ; @cp_sfn
	.cfi_startproc
; %bb.0:
	ldr	x10, [x1]
	ldrsb	w11, [x10]
	mov	x9, x0
	cmp	w11, #32
	b.eq	LBB0_22
; %bb.1:
	mov	w9, #7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x10, x9]
	sub	x9, x9, #1
	cmp	w8, #32
	b.eq	LBB0_2
; %bb.3:
	mov	x8, x0
	cmn	w9, #1
	b.mi	LBB0_11
; %bb.4:
	add	w13, w9, #2
	mov	x8, x0
	str	w11, [x8], #4
	cmp	w13, #1
	b.eq	LBB0_11
; %bb.5:
	add	x9, x9, #2
	sub	x12, x13, #1
	cmp	x12, #32
	b.lo	LBB0_8
; %bb.6:
	add	x11, x10, x13
	cmp	x11, x8
	b.ls	LBB0_25
; %bb.7:
	add	x11, x0, x13, lsl #2
	add	x13, x10, #1
	cmp	x13, x11
	b.hs	LBB0_25
LBB0_8:
	mov	w11, #1
LBB0_9:
	and	x9, x9, #0xffffffff
	sub	x9, x9, x11
	add	x10, x10, x11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x10], #1
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	x10, [x1, #8]
	ldrb	w9, [x10]
	cmp	w9, #32
	b.ne	LBB0_13
; %bb.12:
	mov	x9, x8
	b	LBB0_22
LBB0_13:
	mov	w9, #46
	str	w9, [x8]
	mov	w11, #2
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x10, x11]
	sub	x11, x11, #1
	cmp	w9, #32
	b.eq	LBB0_14
; %bb.15:
	add	x9, x8, #4
	cmn	w11, #1
	b.mi	LBB0_22
; %bb.16:
	add	x14, x11, #2
	and	x11, x14, #0xffffffff
	cmp	x11, #64
	b.lo	LBB0_19
; %bb.17:
	add	x12, x10, x11
	cmp	x12, x9
	b.ls	LBB0_28
; %bb.18:
	add	x12, x8, x11, lsl #2
	add	x12, x12, #4
	cmp	x10, x12
	b.hs	LBB0_28
LBB0_19:
	mov	x12, #0
LBB0_20:
	add	x8, x10, x12
	sub	x10, x11, x12
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x8], #1
	str	w11, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_21
LBB0_22:
	str	wzr, [x9]
	ldr	w8, [x0]
	cmp	w8, #5
	b.ne	LBB0_24
; %bb.23:
	mov	w8, #229
	str	w8, [x0]
LBB0_24:
	ret
LBB0_25:
	and	x13, x12, #0xffffffffffffffe0
	orr	x11, x13, #0x1
	add	x8, x8, x13, lsl #2
	add	x14, x10, #17
	add	x15, x0, #68
	and	x16, x9, #0xffffffff
	sub	x16, x16, #1
	and	x16, x16, #0xffffffffffffffe0
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x14, #-16]
	sshll.8h	v2, v0, #0
	sshll.4s	v3, v2, #0
	sshll2.4s	v2, v2, #0
	sshll2.8h	v0, v0, #0
	sshll.4s	v4, v0, #0
	sshll2.4s	v0, v0, #0
	sshll.8h	v5, v1, #0
	sshll.4s	v6, v5, #0
	sshll2.4s	v5, v5, #0
	stp	q4, q0, [x15, #-32]
	sshll2.8h	v0, v1, #0
	sshll.4s	v1, v0, #0
	stp	q3, q2, [x15, #-64]
	sshll2.4s	v0, v0, #0
	stp	q1, q0, [x15, #32]
	stp	q6, q5, [x15], #128
	add	x14, x14, #32
	subs	x16, x16, #32
	b.ne	LBB0_26
; %bb.27:
	cmp	x12, x13
	b.eq	LBB0_11
	b	LBB0_9
LBB0_28:
	and	x13, x14, #0x3f
	sub	x12, x11, x13
	add	x9, x9, x12, lsl #2
	and	x14, x14, #0xffffffff
	sub	x14, x14, x13
	add	x8, x8, #132
	add	x15, x10, #32
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x15, #-32]
	ldp	q2, q3, [x15], #64
	sshll.8h	v4, v0, #0
	sshll.4s	v5, v4, #0
	sshll2.4s	v4, v4, #0
	sshll2.8h	v0, v0, #0
	sshll.4s	v6, v0, #0
	sshll2.4s	v0, v0, #0
	sshll.8h	v7, v1, #0
	sshll.4s	v16, v7, #0
	sshll2.4s	v7, v7, #0
	stp	q6, q0, [x8, #-96]
	sshll2.8h	v0, v1, #0
	sshll.4s	v1, v0, #0
	sshll2.4s	v0, v0, #0
	stp	q5, q4, [x8, #-128]
	sshll.8h	v4, v2, #0
	sshll.4s	v5, v4, #0
	sshll2.4s	v4, v4, #0
	stp	q1, q0, [x8, #-32]
	sshll2.8h	v0, v2, #0
	sshll.4s	v1, v0, #0
	sshll2.4s	v0, v0, #0
	sshll.8h	v2, v3, #0
	sshll.4s	v6, v2, #0
	sshll2.4s	v2, v2, #0
	stp	q16, q7, [x8, #-64]
	stp	q1, q0, [x8, #32]
	sshll2.8h	v0, v3, #0
	sshll.4s	v1, v0, #0
	sshll2.4s	v0, v0, #0
	stp	q5, q4, [x8]
	stp	q1, q0, [x8, #96]
	stp	q6, q2, [x8, #64]
	add	x8, x8, #256
	subs	x14, x14, #64
	b.ne	LBB0_29
; %bb.30:
	cbnz	x13, LBB0_20
	b	LBB0_22
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cp_sfn
.subsections_via_symbols
