	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_to_uni
_str_to_uni:                            ## @str_to_uni
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_21
## %bb.1:
	movl	%eax, %r9d
	xorl	%edx, %edx
	cmpl	$8, %eax
	jb	LBB0_17
## %bb.2:
	movq	%r14, %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_17
## %bb.3:
	cmpl	$32, %eax
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_5:
	movl	%r9d, %edx
	andl	$-32, %edx
	leaq	-32(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$5, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$96, %rcx
	jae	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi), %xmm0
	movups	16(%rbx,%rsi), %xmm1
	movups	%xmm0, (%r14,%rsi)
	movups	%xmm1, 16(%r14,%rsi)
	movups	32(%rbx,%rsi), %xmm0
	movups	48(%rbx,%rsi), %xmm1
	movups	%xmm0, 32(%r14,%rsi)
	movups	%xmm1, 48(%r14,%rsi)
	movups	64(%rbx,%rsi), %xmm0
	movups	80(%rbx,%rsi), %xmm1
	movups	%xmm0, 64(%r14,%rsi)
	movups	%xmm1, 80(%r14,%rsi)
	movups	96(%rbx,%rsi), %xmm0
	movups	112(%rbx,%rsi), %xmm1
	movups	%xmm0, 96(%r14,%rsi)
	movups	%xmm1, 112(%r14,%rsi)
	subq	$-128, %rsi
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%r14,%rsi), %rdi
	addq	$16, %rdi
	addq	%rbx, %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rcx), %xmm0
	movups	(%rsi,%rcx), %xmm1
	movups	%xmm0, -16(%rdi,%rcx)
	movups	%xmm1, (%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%r9, %rdx
	je	LBB0_21
## %bb.13:
	testb	$24, %r9b
	je	LBB0_17
LBB0_14:
	movq	%rdx, %rsi
	movl	%r9d, %edx
	andl	$-8, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rsi), %rcx
	movq	%rcx, (%r14,%rsi)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_15
## %bb.16:
	cmpq	%r9, %rdx
	je	LBB0_21
LBB0_17:
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r9, %rsi
	movq	%r9, %rdi
	andq	$3, %rdi
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %ecx
	movb	%cl, (%r14,%rdx)
	incq	%rdx
	decq	%rdi
	jne	LBB0_18
LBB0_19:
	cmpq	$3, %rsi
	jb	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %ecx
	movb	%cl, (%r14,%rdx)
	movzbl	1(%rbx,%rdx), %ecx
	movb	%cl, 1(%r14,%rdx)
	movzbl	2(%rbx,%rdx), %ecx
	movb	%cl, 2(%r14,%rdx)
	movzbl	3(%rbx,%rdx), %ecx
	movb	%cl, 3(%r14,%rdx)
	addq	$4, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_20
LBB0_21:
	cltq
	movb	$0, (%r14,%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_str_to_uni
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_to_uni
_str_to_uni:                            ; @str_to_uni
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x9, #0
	mov	w8, w0
	cmp	w0, #8
	b.lo	LBB0_12
; %bb.2:
	sub	x10, x19, x20
	cmp	x10, #64
	b.lo	LBB0_12
; %bb.3:
	cmp	w0, #64
	b.hs	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_9
LBB0_5:
	and	x9, x8, #0xffffffc0
	add	x10, x19, #32
	add	x11, x20, #32
	mov	x12, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #64
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_14
; %bb.8:
	tst	x8, #0x38
	b.eq	LBB0_12
LBB0_9:
	mov	x12, x9
	and	x9, x8, #0xfffffff8
	add	x10, x20, x12
	add	x11, x19, x12
	sub	x12, x12, x9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x11], #8
	adds	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_12:
	add	x10, x19, x9
	add	x11, x20, x9
	sub	x8, x8, x9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x11], #1
	strb	w9, [x10], #1
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	strb	wzr, [x19, w0, sxtw]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_str_to_uni
.subsections_via_symbols
