	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utf8_char
_utf8_char:                             ## @utf8_char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	cmpl	$127, %esi
	ja	LBB0_2
## %bb.1:
	movb	%sil, (%rax)
	incq	%rax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$2047, %esi                     ## imm = 0x7FF
	ja	LBB0_4
## %bb.3:
	movl	%esi, %ecx
	shrl	$6, %ecx
	addb	$-64, %cl
	movb	%cl, (%rax)
	andb	$63, %sil
	orb	$-128, %sil
	movb	%sil, 1(%rax)
	addq	$2, %rax
	popq	%rbp
	retq
LBB0_4:
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	ja	LBB0_6
## %bb.5:
	movl	%esi, %ecx
	shrl	$12, %ecx
	addb	$-32, %cl
	movb	%cl, (%rax)
	movl	%esi, %ecx
	shrl	$6, %ecx
	andb	$63, %cl
	orb	$-128, %cl
	movb	%cl, 1(%rax)
	andb	$63, %sil
	orb	$-128, %sil
	movb	%sil, 2(%rax)
	addq	$3, %rax
	popq	%rbp
	retq
LBB0_6:
	cmpl	$2097151, %esi                  ## imm = 0x1FFFFF
	ja	LBB0_8
## %bb.7:
	movl	%esi, %ecx
	shrl	$18, %ecx
	addb	$-16, %cl
	movb	%cl, (%rax)
	movl	%esi, %ecx
	shrl	$12, %ecx
	andb	$63, %cl
	orb	$-128, %cl
	movb	%cl, 1(%rax)
	movl	%esi, %ecx
	shrl	$6, %ecx
	andb	$63, %cl
	orb	$-128, %cl
	movb	%cl, 2(%rax)
	andb	$63, %sil
	orb	$-128, %sil
	movb	%sil, 3(%rax)
	addq	$4, %rax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_utf8_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utf8_char
_utf8_char:                             ; @utf8_char
	.cfi_startproc
; %bb.0:
	cmp	w1, #127
	b.hi	LBB0_2
; %bb.1:
	strb	w1, [x0], #1
	ret
LBB0_2:
	cmp	w1, #2047
	b.hi	LBB0_4
; %bb.3:
	lsr	w8, w1, #6
	sub	w8, w8, #64
	strb	w8, [x0]
	mov	w8, #128
	bfxil	w8, w1, #0, #6
	strb	w8, [x0, #1]
	add	x0, x0, #2
	ret
LBB0_4:
	lsr	w8, w1, #16
	cbnz	w8, LBB0_6
; %bb.5:
	lsr	w8, w1, #12
	sub	w8, w8, #32
	strb	w8, [x0]
	mov	w8, #128
	mov	w9, #128
	bfxil	w9, w1, #6, #6
	strb	w9, [x0, #1]
	bfxil	w8, w1, #0, #6
	strb	w8, [x0, #2]
	add	x0, x0, #3
	ret
LBB0_6:
	lsr	w8, w1, #21
	cbnz	w8, LBB0_8
; %bb.7:
	lsr	w8, w1, #18
	sub	w8, w8, #16
	strb	w8, [x0]
	mov	w8, #128
	mov	w9, #128
	bfxil	w9, w1, #12, #6
	strb	w9, [x0, #1]
	mov	w9, #128
	bfxil	w9, w1, #6, #6
	strb	w9, [x0, #2]
	bfxil	w8, w1, #0, #6
	strb	w8, [x0, #3]
	add	x0, x0, #4
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_utf8_char
.subsections_via_symbols
