	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function traverse_string
_traverse_string:                       ## @traverse_string
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_14
## %bb.1:
	movq	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MBSTRING_ASC@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %eax
	incq	%r14
	movq	%rax, -48(%rbp)
	decl	%ebx
	testq	%r12, %r12
	jne	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MBSTRING_BMP@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %eax
	shlq	$8, %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%r14), %ecx
	addq	$2, %r14
	orq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	addl	$-2, %ebx
	testq	%r12, %r12
	jne	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MBSTRING_UNIV@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %eax
	shlq	$24, %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%r14), %ecx
	shlq	$16, %rcx
	orq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	movzbl	2(%r14), %eax
	shlq	$8, %rax
	orq	%rcx, %rax
	movq	%rax, -48(%rbp)
	movzbl	3(%r14), %ecx
	addq	$4, %r14
	orq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	addl	$-4, %ebx
	testq	%r12, %r12
	jne	LBB0_12
	jmp	LBB0_13
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	callq	_UTF8_getc
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	subl	%eax, %ebx
	movl	%eax, %eax
	addq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	*%r12
	testl	%eax, %eax
	jg	LBB0_13
	jmp	LBB0_15
LBB0_14:
	movl	$1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$-1, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MBSTRING_ASC,4,2               ## @MBSTRING_ASC
	.comm	_MBSTRING_BMP,4,2               ## @MBSTRING_BMP
	.comm	_MBSTRING_UNIV,4,2              ## @MBSTRING_UNIV
	.no_dead_strip	_traverse_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function traverse_string
_traverse_string:                       ; @traverse_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	w1, LBB0_12
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _MBSTRING_ASC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MBSTRING_ASC@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MBSTRING_BMP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MBSTRING_BMP@GOTPAGEOFF]
Lloh4:
	adrp	x26, _MBSTRING_UNIV@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MBSTRING_UNIV@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23], #1
	str	x8, [sp, #8]
	sub	w22, w22, #1
	cbnz	x20, LBB0_11
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23]
	lsl	x9, x8, #8
	str	x9, [sp, #8]
	ldrb	w9, [x23, #1]
	add	x23, x23, #2
	bfi	x9, x8, #8, #8
	str	x9, [sp, #8]
	sub	w22, w22, #2
	cbnz	x20, LBB0_11
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23]
	lsl	x8, x8, #24
	str	x8, [sp, #8]
	ldrb	w9, [x23, #1]
	bfi	x8, x9, #16, #8
	str	x8, [sp, #8]
	ldrb	w9, [x23, #2]
	bfi	x8, x9, #8, #8
	str	x8, [sp, #8]
	ldrb	w9, [x23, #3]
	add	x23, x23, #4
	orr	x8, x8, x9
	str	x8, [sp, #8]
	sub	w22, w22, #4
	cbnz	x20, LBB0_11
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x22
	bl	_UTF8_getc
	tbnz	w0, #31, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, w0
	add	x23, x23, w0, uxtw
	cbz	x20, LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x19
	blr	x20
	cmp	w0, #1
	b.ge	LBB0_2
	b	LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	mov	w0, #-1
	b	LBB0_13
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MBSTRING_ASC,4,2               ; @MBSTRING_ASC
	.comm	_MBSTRING_BMP,4,2               ; @MBSTRING_BMP
	.comm	_MBSTRING_UNIV,4,2              ; @MBSTRING_UNIV
	.no_dead_strip	_traverse_string
.subsections_via_symbols
