	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_good_string_to_utf8            ## -- Begin function good_string_to_utf8
	.p2align	4, 0x90
_good_string_to_utf8:                   ## @good_string_to_utf8
	.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, %r14
	callq	_string_to_utf8
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	xorl	%edx, %edx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %edi
	je	LBB0_3
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, (%r14,%rax,4)
	incq	%rax
	incl	%edx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rsi
	movl	(%r14,%rsi,4), %edi
	cmpl	$38, %edi
	jne	LBB0_2
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r14,%rsi,4), %edi
	addl	$-97, %edi
	cmpl	$16, %edi
	ja	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%rcx,%rdi,4), %rdi
	addq	%rcx, %rdi
	jmpq	*%rdi
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$109, 8(%r14,%rsi,4)
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$112, 12(%r14,%rsi,4)
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59, 16(%r14,%rsi,4)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	$4, %edx
	jmp	LBB0_26
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, 8(%r14,%rsi,4)
	jne	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59, 12(%r14,%rsi,4)
	jne	LBB0_26
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	$3, %edx
	movl	$62, %edi
	jmp	LBB0_38
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, 8(%r14,%rsi,4)
	jne	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59, 12(%r14,%rsi,4)
	jne	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	$3, %edx
	movl	$60, %edi
	jmp	LBB0_38
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$117, 8(%r14,%rsi,4)
	jne	LBB0_26
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$111, 12(%r14,%rsi,4)
	jne	LBB0_26
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, 16(%r14,%rsi,4)
	jne	LBB0_26
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59, 20(%r14,%rsi,4)
	jne	LBB0_26
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	$5, %edx
	movl	$34, %edi
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$38, %edi
	jmp	LBB0_38
LBB0_3:
	movl	%eax, %eax
	movl	$0, (%r14,%rax,4)
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%edi, %edi
	je	LBB0_6
LBB0_53:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, (%r14,%r8,4)
	incq	%r8
	incl	%ecx
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
	movslq	%ecx, %rdx
	movl	(%r14,%rdx,4), %edi
	cmpl	$38, %edi
	jne	LBB0_5
## %bb.39:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r14,%rdx,4), %eax
	cmpl	$35, %eax
	je	LBB0_46
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$97, %eax
	jne	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$109, 8(%r14,%rdx,4)
	jne	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$112, 12(%r14,%rdx,4)
	jne	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$59, 16(%r14,%rdx,4)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	$4, %ecx
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$38, %edi
	jmp	LBB0_53
LBB0_46:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	2(%rcx), %edx
	movslq	%edx, %rax
	leaq	(%r14,%rax,4), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_45
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	cmpl	$59, %ebx
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=2
	leal	-48(%rbx), %eax
	cmpl	$9, %eax
	ja	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=2
	leal	(%rsi,%rsi,4), %esi
	leal	(%rax,%rsi,2), %esi
	incl	%edx
	addq	$4, %rdi
	jmp	LBB0_47
LBB0_51:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$38, %edi
	cmpl	$59, %ebx
	jne	LBB0_53
LBB0_52:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %edi
	movl	%edx, %ecx
	jmp	LBB0_53
LBB0_6:
	movl	%r8d, %eax
	movl	$0, (%r14,%rax,4)
	xorl	%eax, %eax
	movq	%r14, %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$4, %rcx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %edx
	cmpl	$173, %edx
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%edx, %edx
	je	LBB0_54
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	-65063(%rdx), %esi
	cmpl	$-40, %esi
	ja	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-7655(%rdx), %esi
	cmpl	$-29, %esi
	ja	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-8202(%rdx), %esi
	cmpl	$6, %esi
	jb	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8288, %edx                     ## imm = 0x2060
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8228, %edx                     ## imm = 0x2024
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-8400(%rdx), %esi
	cmpl	$34, %esi
	jb	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-8298(%rdx), %esi
	cmpl	$6, %esi
	jb	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$65279, %edx                    ## imm = 0xFEFF
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	-880(%rdx), %esi
	cmpl	$-113, %esi
	ja	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%eax, %rsi
	incl	%eax
	movl	%edx, (%r14,%rsi,4)
	jmp	LBB0_19
LBB0_54:
	cltq
	movl	$0, (%r14,%rax,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_30
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_27
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_good_string_to_utf8            ; -- Begin function good_string_to_utf8
	.p2align	2
_good_string_to_utf8:                   ; @good_string_to_utf8
	.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	x19, x1
	bl	_string_to_utf8
	mov	x9, #0
	mov	w10, #0
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w11, LBB0_22
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w11, [x19, x9, lsl #2]
	add	x9, x9, #1
	add	w10, w10, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x19, w10, sxtw #2]
	cmp	w11, #38
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x11, w10
	add	x12, x19, x11, lsl #2
	ldr	w12, [x12, #4]
	sub	w12, w12, #97
	cmp	w12, #16
	b.hi	LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x13, LBB0_6
	ldrb	w14, [x8, x12]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w13, [x12, #8]
	cmp	w13, #109
	b.ne	LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x12, #12]
	cmp	w12, #112
	b.ne	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x11, #4
	ldr	w11, [x19, x12, lsl #2]
	cmp	w11, #59
	b.ne	LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #38
	mov	x10, x12
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w12, [x12, #8]
	cmp	w12, #116
	b.ne	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x11, #3
	ldr	w11, [x19, x12, lsl #2]
	cmp	w11, #59
	b.ne	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #62
	mov	x10, x12
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w12, [x12, #8]
	cmp	w12, #116
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x11, #3
	ldr	w11, [x19, x12, lsl #2]
	cmp	w11, #59
	b.ne	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #60
	mov	x10, x12
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w13, [x12, #8]
	cmp	w13, #117
	b.ne	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x12, #12]
	cmp	w12, #111
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w12, [x12, #16]
	cmp	w12, #116
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x11, #5
	ldr	w11, [x19, x12, lsl #2]
	cmp	w11, #59
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #34
	mov	x10, x12
	b	LBB0_2
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #38
	b	LBB0_2
LBB0_22:
	mov	x8, #0
	mov	w12, #0
	str	wzr, [x19, w9, uxtw #2]
	mov	w9, #10
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	cbz	w11, LBB0_39
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	str	w11, [x19, x8, lsl #2]
	add	x8, x8, #1
	add	w12, w10, #1
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
	mov	w10, w12
	ldr	w11, [x19, w12, sxtw #2]
	cmp	w11, #38
	b.ne	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	sxtw	x11, w12
	add	x12, x19, x11, lsl #2
	ldr	w12, [x12, #4]
	cmp	w12, #35
	b.eq	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w12, #97
	b.ne	LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x12, x19, x11, lsl #2
	ldr	w13, [x12, #8]
	cmp	w13, #109
	b.ne	LBB0_38
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w12, [x12, #12]
	cmp	w12, #112
	b.ne	LBB0_38
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x12, x11, #4
	ldr	w11, [x19, x12, lsl #2]
	cmp	w11, #59
	b.ne	LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w11, #38
	mov	x10, x12
	b	LBB0_24
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x12, #0
	mov	w11, #0
	add	w13, w10, #2
	add	x13, x19, w13, sxtw #2
	ldr	w14, [x13, x12, lsl #2]
	cbz	w14, LBB0_38
LBB0_33:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w14, #59
	b.eq	LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	sub	w15, w14, #48
	cmp	w15, #9
	b.hi	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=2
	madd	w11, w11, w9, w15
	add	x12, x12, #1
	ldr	w14, [x13, x12, lsl #2]
	cbnz	w14, LBB0_33
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_25 Depth=1
	cmp	w14, #59
	b.ne	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w10, w10, w12
	add	w10, w10, #2
	b	LBB0_24
LBB0_38:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w11, #38
	b	LBB0_24
LBB0_39:
	mov	w9, #0
	str	wzr, [x19, w8, uxtw #2]
	mov	w8, #-65063
	mov	w10, #-7655
	mov	w11, #-8202
	mov	w12, #8288
	mov	w13, #-8400
	mov	w14, #8228
	mov	w15, #-8298
	mov	w16, #65279
	mov	x17, x19
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x17, x17, #4
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x17]
	cmp	w0, #173
	b.eq	LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	cbz	w0, LBB0_49
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=1
	add	w1, w0, w8
	add	w2, w0, w10
	cmn	w1, #40
	ccmn	w2, #29, #2, ls
	add	w1, w0, w11
	ccmp	w1, #6, #0, ls
	ccmp	w0, w12, #4, hs
	ccmp	w0, w14, #4, ne
	b.eq	LBB0_40
; %bb.44:                               ;   in Loop: Header=BB0_41 Depth=1
	add	w1, w0, w13
	cmp	w1, #34
	b.lo	LBB0_40
; %bb.45:                               ;   in Loop: Header=BB0_41 Depth=1
	add	w1, w0, w15
	cmp	w1, #6
	b.lo	LBB0_40
; %bb.46:                               ;   in Loop: Header=BB0_41 Depth=1
	cmp	w0, w16
	b.eq	LBB0_40
; %bb.47:                               ;   in Loop: Header=BB0_41 Depth=1
	sub	w1, w0, #880
	cmn	w1, #113
	b.hi	LBB0_40
; %bb.48:                               ;   in Loop: Header=BB0_41 Depth=1
	str	w0, [x19, w9, sxtw #2]
	add	w9, w9, #1
	b	LBB0_40
LBB0_49:
	str	wzr, [x19, w9, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_21-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
                                        ; -- End function
.subsections_via_symbols
