	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lit_char_to_utf8_bytes         ## -- Begin function lit_char_to_utf8_bytes
	.p2align	4, 0x90
_lit_char_to_utf8_bytes:                ## @lit_char_to_utf8_bytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LIT_UTF8_1_BYTE_CODE_POINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%esi, %eax
	je	LBB0_1
## %bb.2:
	movq	_LIT_UTF8_2_BYTE_CODE_POINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%esi, %eax
	je	LBB0_3
## %bb.4:
	movq	_LIT_UTF8_3_BYTE_MARKER@GOTPCREL(%rip), %rax
	movl	%esi, %ecx
	sarl	$12, %ecx
	movq	_LIT_UTF8_LAST_4_BITS_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	orl	(%rax), %ecx
	movslq	%ecx, %rax
	movq	%rax, (%rdi)
	movq	_LIT_UTF8_EXTRA_BYTE_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %ecx
	sarl	$6, %ecx
	movq	_LIT_UTF8_LAST_6_BITS_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edx, %ecx
	orl	%eax, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 8(%rdi)
	addq	$16, %rdi
	andl	%esi, %edx
	orl	%eax, %edx
	movl	$3, %eax
	movl	%edx, %esi
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_LIT_UTF8_2_BYTE_MARKER@GOTPCREL(%rip), %rax
	movl	%esi, %ecx
	sarl	$6, %ecx
	movq	_LIT_UTF8_LAST_5_BITS_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	orl	(%rax), %ecx
	movslq	%ecx, %rax
	movq	%rax, (%rdi)
	addq	$8, %rdi
	movq	_LIT_UTF8_LAST_6_BITS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_LIT_UTF8_EXTRA_BYTE_MARKER@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$2, %eax
LBB0_5:
	movslq	%esi, %rcx
	movq	%rcx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIT_UTF8_1_BYTE_CODE_POINT_MAX,4,2 ## @LIT_UTF8_1_BYTE_CODE_POINT_MAX
	.comm	_LIT_UTF8_2_BYTE_CODE_POINT_MAX,4,2 ## @LIT_UTF8_2_BYTE_CODE_POINT_MAX
	.comm	_LIT_UTF8_2_BYTE_MARKER,4,2     ## @LIT_UTF8_2_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_5_BITS_MASK,4,2  ## @LIT_UTF8_LAST_5_BITS_MASK
	.comm	_LIT_UTF8_EXTRA_BYTE_MARKER,4,2 ## @LIT_UTF8_EXTRA_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_6_BITS_MASK,4,2  ## @LIT_UTF8_LAST_6_BITS_MASK
	.comm	_LIT_UTF8_3_BYTE_MARKER,4,2     ## @LIT_UTF8_3_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_4_BITS_MASK,4,2  ## @LIT_UTF8_LAST_4_BITS_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lit_char_to_utf8_bytes         ; -- Begin function lit_char_to_utf8_bytes
	.p2align	2
_lit_char_to_utf8_bytes:                ; @lit_char_to_utf8_bytes
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _LIT_UTF8_1_BYTE_CODE_POINT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIT_UTF8_1_BYTE_CODE_POINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bics	wzr, w1, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _LIT_UTF8_2_BYTE_CODE_POINT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIT_UTF8_2_BYTE_CODE_POINT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bics	wzr, w1, w8
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _LIT_UTF8_3_BYTE_MARKER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LIT_UTF8_3_BYTE_MARKER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _LIT_UTF8_LAST_4_BITS_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LIT_UTF8_LAST_4_BITS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w1, asr #12
	orr	w8, w9, w8
	sxtw	x8, w8
Lloh12:
	adrp	x9, _LIT_UTF8_EXTRA_BYTE_MARKER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LIT_UTF8_EXTRA_BYTE_MARKER@GOTPAGEOFF]
Lloh14:
	adrp	x10, _LIT_UTF8_LAST_6_BITS_MASK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _LIT_UTF8_LAST_6_BITS_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	and	w11, w10, w1, asr #6
	orr	w11, w11, w9
	sxtw	x11, w11
	stp	x8, x11, [x0], #16
	and	w8, w10, w1
	orr	w1, w8, w9
	mov	w8, #3
	b	LBB0_5
LBB0_3:
	mov	w8, #1
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x8, _LIT_UTF8_2_BYTE_MARKER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LIT_UTF8_2_BYTE_MARKER@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _LIT_UTF8_LAST_5_BITS_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _LIT_UTF8_LAST_5_BITS_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w9, w9, w1, asr #6
	orr	w8, w9, w8
	sxtw	x8, w8
	str	x8, [x0], #8
Lloh24:
	adrp	x8, _LIT_UTF8_EXTRA_BYTE_MARKER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LIT_UTF8_EXTRA_BYTE_MARKER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _LIT_UTF8_LAST_6_BITS_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _LIT_UTF8_LAST_6_BITS_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w9, w9, w1
	orr	w1, w9, w8
	mov	w8, #2
LBB0_5:
	sxtw	x9, w1
	str	x9, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LIT_UTF8_1_BYTE_CODE_POINT_MAX,4,2 ; @LIT_UTF8_1_BYTE_CODE_POINT_MAX
	.comm	_LIT_UTF8_2_BYTE_CODE_POINT_MAX,4,2 ; @LIT_UTF8_2_BYTE_CODE_POINT_MAX
	.comm	_LIT_UTF8_2_BYTE_MARKER,4,2     ; @LIT_UTF8_2_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_5_BITS_MASK,4,2  ; @LIT_UTF8_LAST_5_BITS_MASK
	.comm	_LIT_UTF8_EXTRA_BYTE_MARKER,4,2 ; @LIT_UTF8_EXTRA_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_6_BITS_MASK,4,2  ; @LIT_UTF8_LAST_6_BITS_MASK
	.comm	_LIT_UTF8_3_BYTE_MARKER,4,2     ; @LIT_UTF8_3_BYTE_MARKER
	.comm	_LIT_UTF8_LAST_4_BITS_MASK,4,2  ; @LIT_UTF8_LAST_4_BITS_MASK
.subsections_via_symbols
