	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_utf8to16                       ## -- Begin function utf8to16
	.p2align	4, 0x90
_utf8to16:                              ## @utf8to16
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CP_UTF8@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %r15d
	leal	(,%r15,4), %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	$-1, %ecx
	movq	%rbx, %r8
	movl	%r15d, %r9d
	callq	_MultiByteToWideChar
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_utf8to16                       ; -- Begin function utf8to16
	.p2align	2
_utf8to16:                              ; @utf8to16
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x22, _CP_UTF8@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CP_UTF8@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #0
	mov	x2, x19
	mov	w3, #-1
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x20, x0
	lsl	w0, w0, #2
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	mov	w1, #0
	mov	x2, x19
	mov	w3, #-1
	mov	x4, x21
	mov	x5, x20
	bl	_MultiByteToWideChar
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
.subsections_via_symbols
