	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EncodeCodepoint
_EncodeCodepoint:                       ## @EncodeCodepoint
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movl	%edi, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_FIRST_2_BYTE_UTF8_CODEPOINT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_13
## %bb.3:
	movl	%ebx, (%r14)
	movl	$1, %eax
	jmp	LBB0_20
LBB0_4:
	movl	%ebx, 12(%r14)
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, 8(%r14)
	movl	%ebx, %eax
	sarl	$16, %eax
	movl	%eax, 4(%r14)
	sarl	$24, %ebx
	movl	%ebx, (%r14)
	jmp	LBB0_19
LBB0_5:
	movq	_FIRST_NON_BMP_CODEPOINT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_11
## %bb.6:
	movl	%ebx, (%r14)
	sarl	$8, %ebx
	movl	%ebx, 4(%r14)
	movl	$2, %eax
	jmp	LBB0_20
LBB0_7:
	movq	_FIRST_NON_BMP_CODEPOINT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_12
## %bb.8:
	movl	%ebx, 4(%r14)
	sarl	$8, %ebx
	movl	%ebx, (%r14)
	movl	$2, %eax
	jmp	LBB0_20
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_10:
	movl	%ebx, (%r14)
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %eax
	sarl	$16, %eax
	movl	%eax, 8(%r14)
	sarl	$24, %ebx
	movl	%ebx, 12(%r14)
	jmp	LBB0_19
LBB0_11:
	movl	%ebx, %edi
	callq	_SURROGATES_FROM_CODEPOINT
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%ecx, (%r14)
	movl	%eax, %ecx
	sarl	$24, %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, 8(%r14)
	sarl	$8, %eax
	jmp	LBB0_18
LBB0_12:
	movl	%ebx, %edi
	callq	_SURROGATES_FROM_CODEPOINT
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, %ecx
	sarl	$24, %ecx
	movl	%ecx, (%r14)
	movl	%eax, 12(%r14)
	sarl	$8, %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_19
LBB0_13:
	movq	_FIRST_3_BYTE_UTF8_CODEPOINT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	sarl	$6, %eax
	orl	$192, %eax
	movl	%eax, (%r14)
	movl	%ebx, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
	movl	%eax, 4(%r14)
	movl	$2, %eax
	jmp	LBB0_20
LBB0_15:
	movq	_FIRST_4_BYTE_UTF8_CODEPOINT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	sarl	$12, %eax
	orl	$224, %eax
	movl	%eax, (%r14)
	movl	%ebx, %edi
	sarl	$6, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
	movl	%eax, 8(%r14)
	movl	$3, %eax
	jmp	LBB0_20
LBB0_17:
	movl	%ebx, %eax
	sarl	$18, %eax
	orl	$240, %eax
	movl	%eax, (%r14)
	movl	%ebx, %edi
	sarl	$12, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %edi
	sarl	$6, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_BOTTOM_6_BITS
	orl	$128, %eax
LBB0_18:
	movl	%eax, 12(%r14)
LBB0_19:
	movl	$4, %eax
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_FIRST_2_BYTE_UTF8_CODEPOINT,4,2 ## @FIRST_2_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_3_BYTE_UTF8_CODEPOINT,4,2 ## @FIRST_3_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_4_BYTE_UTF8_CODEPOINT,4,2 ## @FIRST_4_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_NON_BMP_CODEPOINT,4,2    ## @FIRST_NON_BMP_CODEPOINT
	.no_dead_strip	_EncodeCodepoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function EncodeCodepoint
lCPI0_0:
	.long	4294967272                      ; 0xffffffe8
	.long	4294967280                      ; 0xfffffff0
lCPI0_1:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
lCPI0_2:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967272                      ; 0xffffffe8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_EncodeCodepoint:                       ; @EncodeCodepoint
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _FIRST_2_BYTE_UTF8_CODEPOINT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FIRST_2_BYTE_UTF8_CODEPOINT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_16
; %bb.3:
	str	w20, [x19]
	mov	w0, #1
	b	LBB0_15
LBB0_4:
	asr	w8, w20, #8
	dup.2s	v0, w20
	stp	w8, w20, [x19, #8]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	str	d0, [x19]
	b	LBB0_14
LBB0_5:
Lloh7:
	adrp	x8, _FIRST_NON_BMP_CODEPOINT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FIRST_NON_BMP_CODEPOINT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_12
; %bb.6:
	asr	w8, w20, #8
	str	w20, [x19]
	b	LBB0_18
LBB0_7:
Lloh10:
	adrp	x8, _FIRST_NON_BMP_CODEPOINT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FIRST_NON_BMP_CODEPOINT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_13
; %bb.8:
	asr	w8, w20, #8
	stp	w8, w20, [x19]
	mov	w0, #2
	b	LBB0_15
LBB0_9:
	mov	x0, #0
	b	LBB0_15
LBB0_10:
	str	w20, [x19]
	dup.2s	v0, w20
Lloh13:
	adrp	x8, lCPI0_1@PAGE
Lloh14:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	sshl.2s	v0, v0, v1
	stur	d0, [x19, #4]
	asr	w8, w20, #24
LBB0_11:
	str	w8, [x19, #12]
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_SURROGATES_FROM_CODEPOINT
	dup.2s	v0, w0
Lloh15:
	adrp	x8, lCPI0_2@PAGE
Lloh16:
	ldr	d1, [x8, lCPI0_2@PAGEOFF]
	sshl.2s	v0, v0, v1
	str	d0, [x19]
	asr	w8, w0, #8
	stp	w0, w8, [x19, #8]
	b	LBB0_14
LBB0_13:
	mov	x0, x20
	bl	_SURROGATES_FROM_CODEPOINT
	dup.2s	v0, w0
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	str	d0, [x19]
	asr	w8, w0, #8
	stp	w8, w0, [x19, #8]
LBB0_14:
	mov	w0, #4
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh19:
	adrp	x8, _FIRST_3_BYTE_UTF8_CODEPOINT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FIRST_3_BYTE_UTF8_CODEPOINT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_19
; %bb.17:
	asr	w8, w20, #6
	orr	w8, w8, #0xc0
	str	w8, [x19]
	mov	x0, x20
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
LBB0_18:
	str	w8, [x19, #4]
	mov	w0, #2
	b	LBB0_15
LBB0_19:
Lloh22:
	adrp	x8, _FIRST_4_BYTE_UTF8_CODEPOINT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FIRST_4_BYTE_UTF8_CODEPOINT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_21
; %bb.20:
	asr	w8, w20, #12
	orr	w8, w8, #0xe0
	str	w8, [x19]
	asr	w0, w20, #6
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
	str	w8, [x19, #8]
	mov	w0, #3
	b	LBB0_15
LBB0_21:
	asr	w8, w20, #18
	orr	w8, w8, #0xf0
	str	w8, [x19]
	asr	w0, w20, #12
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
	str	w8, [x19, #4]
	asr	w0, w20, #6
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_BOTTOM_6_BITS
	orr	w8, w0, #0x80
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_FIRST_2_BYTE_UTF8_CODEPOINT,4,2 ; @FIRST_2_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_3_BYTE_UTF8_CODEPOINT,4,2 ; @FIRST_3_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_4_BYTE_UTF8_CODEPOINT,4,2 ; @FIRST_4_BYTE_UTF8_CODEPOINT
	.comm	_FIRST_NON_BMP_CODEPOINT,4,2    ; @FIRST_NON_BMP_CODEPOINT
	.no_dead_strip	_EncodeCodepoint
.subsections_via_symbols
