	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_TEST_INIT
	xorl	%eax, %eax
	callq	_jmem_init
	xorl	%eax, %eax
	callq	_ecma_init
	movq	_max_bytes_in_string@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_max_code_units_in_string@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$3, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_test_iters@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.1:
	xorl	%ecx, %ecx
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_TEST_ASSERT
	movl	-156(%rbp), %ecx                ## 4-byte Reload
	incl	%ecx
	movq	_test_iters@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movq	-176(%rbp), %r14                ## 8-byte Reload
	movq	-136(%rbp), %r12                ## 8-byte Reload
	jge	LBB0_4
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	testl	%ecx, %ecx
	movl	%ecx, -156(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_rand
	cltd
	movq	_max_bytes_in_string@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_generate_cesu8_string
	movq	%rax, %rbx
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ecma_string_get_length
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movq	%r12, %rdi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_lit_utf8_string_length
	xorl	%edi, %edi
	cmpq	-152(%rbp), %rax                ## 8-byte Folded Reload
	sete	%dil
	callq	_TEST_ASSERT
	movq	%rbx, -96(%rbp)
	movl	%r13d, -128(%rbp)               ## 4-byte Spill
	movslq	%r13d, %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%r13d, %r13d
	leaq	-96(%rbp), %rbx
	movq	-144(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_lit_utf8_peek_next
	movq	%rax, (%r15,%r13,8)
	movq	-96(%rbp), %rax
	movq	%rax, (%r14,%r13,8)
	incq	%r13
	movq	%rbx, %rdi
	callq	_lit_utf8_incr
	movq	-96(%rbp), %rdi
	cmpq	%r12, %rdi
	jb	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	%r13, -152(%rbp)                ## 8-byte Folded Reload
	sete	%dil
	callq	_TEST_ASSERT
	testq	%r13, %r13
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movq	_test_subiters@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jg	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -96(%rbp)
	movq	%r13, -168(%rbp)                ## 8-byte Spill
	movq	%r13, %r12
	cmpl	$0, -128(%rbp)                  ## 4-byte Folded Reload
	movq	%r15, %r14
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	leaq	-96(%rbp), %r13
	jle	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	-168(%rbp), %r12                ## 8-byte Reload
	testq	%r12, %r12
	setne	%al
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-128(%rbp), %edi                ## 4-byte Reload
	callq	_TEST_ASSERT
	movq	-8(%r14,%r12,8), %r15
	decq	%r12
	movq	-96(%rbp), %rdi
	callq	_lit_utf8_peek_prev
	xorl	%edi, %edi
	cmpq	%rax, %r15
	sete	%dil
	callq	_TEST_ASSERT
	movq	%r13, %rdi
	callq	_lit_utf8_decr
	cmpq	%rbx, -96(%rbp)
	ja	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r15
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_TEST_ASSERT
	movq	-144(%rbp), %r14                ## 8-byte Reload
	cmpq	%r14, -96(%rbp)
	jae	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-96(%rbp), %rbx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_lit_utf8_read_next
	xorl	%edi, %edi
	cmpq	(%r15,%r12,8), %rax
	sete	%dil
	callq	_TEST_ASSERT
	incq	%r12
	cmpq	%r14, -96(%rbp)
	jb	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	%r12, -152(%rbp)                ## 8-byte Folded Reload
	sete	%dil
	callq	_TEST_ASSERT
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -96(%rbp)
	movq	-168(%rbp), %rax                ## 8-byte Reload
	jbe	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	leaq	-96(%rbp), %r13
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	callq	_TEST_ASSERT
	movq	-8(%r15,%r12,8), %rbx
	decq	%r12
	movq	%r13, %rdi
	callq	_lit_utf8_read_prev
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_TEST_ASSERT
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -96(%rbp)
	ja	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r13
	movq	%rdx, %r12
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r14,%r12,8), %rdi
	movq	%rdi, -96(%rbp)
	callq	_lit_utf8_peek_next
	xorl	%edi, %edi
	cmpq	(%r15,%r12,8), %rax
	sete	%dil
	callq	_TEST_ASSERT
	incl	%ebx
	movq	_test_subiters@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_17
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_rand
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r13, %rdx
	shrq	$32, %rdx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	xorl	%edx, %edx
	divl	%r13d
	movl	%edx, %r12d
	jmp	LBB0_16
LBB0_4:
	movabsq	$558345748672, %rax             ## imm = 0x82000000C0
	movq	%rax, -184(%rbp)
	leaq	-184(%rbp), %rdi
	movl	$8, %esi
	callq	_lit_is_valid_cesu8_string
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	l___const.main.invalid_cesu8_string_2+8(%rip), %eax
	movl	%eax, -56(%rbp)
	movq	l___const.main.invalid_cesu8_string_2(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdi
	movl	$12, %esi
	callq	_lit_is_valid_cesu8_string
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movq	l___const.main.invalid_cesu8_string_3+16(%rip), %rax
	movq	%rax, -80(%rbp)
	movaps	l___const.main.invalid_cesu8_string_3(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	leaq	-96(%rbp), %rdi
	movl	$24, %esi
	callq	_lit_is_valid_cesu8_string
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	l___const.main.valid_utf8_string_1+8(%rip), %eax
	movl	%eax, -104(%rbp)
	movq	l___const.main.valid_utf8_string_1(%rip), %rax
	movq	%rax, -112(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$12, %esi
	callq	_lit_is_valid_cesu8_string
	movl	%eax, %edi
	callq	_TEST_ASSERT
	leaq	-124(%rbp), %rbx
	movl	$115, %edi
	movq	%rbx, %rsi
	callq	_lit_code_unit_to_utf8
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$115, -124(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	movl	$1050, %edi                     ## imm = 0x41A
	movq	%rbx, %rsi
	callq	_lit_code_unit_to_utf8
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$208, -124(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$154, -120(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	movl	$55295, %edi                    ## imm = 0xD7FF
	movq	%rbx, %rsi
	callq	_lit_code_unit_to_utf8
	xorl	%edi, %edi
	cmpl	$3, %eax
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$237, -124(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$159, -120(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpl	$191, -116(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%eax, %eax
	callq	_ecma_finalize
	xorl	%eax, %eax
	callq	_jmem_finalize
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.5:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_max_bytes_in_string,4,2        ## @max_bytes_in_string
	.comm	_max_code_units_in_string,4,2   ## @max_code_units_in_string
	.comm	_test_iters,4,2                 ## @test_iters
	.comm	_test_subiters,4,2              ## @test_subiters
	.section	__TEXT,__const
	.p2align	2                               ## @__const.main.invalid_cesu8_string_2
l___const.main.invalid_cesu8_string_2:
	.long	224                             ## 0xe0
	.long	128                             ## 0x80
	.long	129                             ## 0x81

	.p2align	4                               ## @__const.main.invalid_cesu8_string_3
l___const.main.invalid_cesu8_string_3:
	.long	237                             ## 0xed
	.long	164                             ## 0xa4
	.long	129                             ## 0x81
	.long	237                             ## 0xed
	.long	191                             ## 0xbf
	.long	176                             ## 0xb0

	.p2align	2                               ## @__const.main.valid_utf8_string_1
l___const.main.valid_utf8_string_1:
	.long	237                             ## 0xed
	.long	164                             ## 0xa4
	.long	129                             ## 0x81

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #112
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_TEST_INIT
	bl	_jmem_init
	bl	_ecma_init
Lloh3:
	adrp	x8, _max_bytes_in_string@GOTPAGE
Lloh4:
	ldr	x8, [x8, _max_bytes_in_string@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _max_code_units_in_string@GOTPAGE
Lloh9:
	ldr	x8, [x8, _max_code_units_in_string@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
Lloh15:
	adrp	x8, _test_iters@GOTPAGE
Lloh16:
	ldr	x8, [x8, _test_iters@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.1:
	mov	w26, #0
	sub	x28, x24, #8
Lloh18:
	adrp	x23, _test_subiters@GOTPAGE
Lloh19:
	ldr	x23, [x23, _test_subiters@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x21
	ldur	w26, [x29, #-172]               ; 4-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x22, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	add	w26, w26, #1
Lloh20:
	adrp	x8, _test_iters@GOTPAGE
Lloh21:
	ldr	x8, [x8, _test_iters@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ge	LBB0_24
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	stur	w26, [x29, #-172]               ; 4-byte Folded Spill
	cbz	w26, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_rand
Lloh23:
	adrp	x8, _max_bytes_in_string@GOTPAGE
Lloh24:
	ldr	x8, [x8, _max_bytes_in_string@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w27, w9, w8, w0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x27
	bl	_generate_cesu8_string
	mov	x21, x0
	mov	x0, x19
	mov	x1, x27
	bl	_ecma_new_ecma_string_from_utf8
	mov	x22, x0
	bl	_ecma_string_get_length
	cmp	x0, x21
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_ecma_deref_ecma_string
	mov	x0, x19
	mov	x1, x27
	bl	_lit_utf8_string_length
	cmp	x0, x21
	cset	w0, eq
	bl	_TEST_ASSERT
	stur	x19, [x29, #-128]
	add	x26, x19, w27, sxtw #2
	cmp	w27, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	mov	x0, x19
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_lit_utf8_peek_next
	lsl	x8, x20, #3
	str	x0, [x24, x8]
	ldur	x9, [x29, #-128]
	str	x9, [x25, x8]
	add	x20, x20, #1
	sub	x0, x29, #128
	bl	_lit_utf8_incr
	ldur	x0, [x29, #-128]
	cmp	x0, x26
	b.lo	LBB0_9
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	stur	x21, [x29, #-184]               ; 8-byte Folded Spill
	cmp	x21, x20
	cset	w0, eq
	bl	_TEST_ASSERT
	cbz	x20, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_rand
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	udiv	x9, x8, x20
	msub	x8, x9, x20, x8
	lsl	x21, x8, #3
	ldr	x0, [x25, x21]
	stur	x0, [x29, #-128]
	bl	_lit_utf8_peek_next
	ldr	x8, [x24, x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	w22, w22, #1
	ldr	w8, [x23]
	cmp	w22, w8
	b.lt	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	stur	x26, [x29, #-128]
	mov	x21, x20
	cmp	w27, #1
	b.lt	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #0
	cset	w27, ne
	mov	x22, x20
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	bl	_TEST_ASSERT
	sub	x21, x22, #1
	ldr	x22, [x28, x22, lsl #3]
	ldur	x0, [x29, #-128]
	bl	_lit_utf8_peek_prev
	cmp	x22, x0
	cset	w0, eq
	bl	_TEST_ASSERT
	sub	x0, x29, #128
	bl	_lit_utf8_decr
	ldur	x8, [x29, #-128]
	mov	x22, x21
	cmp	x8, x19
	b.hi	LBB0_17
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x21, #0
	cset	w0, eq
	bl	_TEST_ASSERT
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x8, [x29, #-128]
	cmp	x8, x26
	b.hs	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	sub	x0, x29, #128
	bl	_lit_utf8_read_next
	ldr	x8, [x24, x21, lsl #3]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	x21, x21, #1
	b	LBB0_19
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	cmp	x8, x21
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	x8, [x29, #-128]
	cmp	x8, x19
	b.ls	LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #0
	cset	w20, ne
	ldur	w26, [x29, #-172]               ; 4-byte Folded Reload
LBB0_23:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_TEST_ASSERT
	sub	x22, x21, #1
	ldr	x21, [x28, x21, lsl #3]
	sub	x0, x29, #128
	bl	_lit_utf8_read_prev
	cmp	x21, x0
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	x8, [x29, #-128]
	mov	x21, x22
	cmp	x8, x19
	b.hi	LBB0_23
	b	LBB0_3
LBB0_24:
	mov	x8, #192
	movk	x8, #130, lsl #32
	stur	x8, [x29, #-168]
	sub	x0, x29, #168
	mov	w1, #8
	bl	_lit_is_valid_cesu8_string
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
Lloh26:
	adrp	x8, l___const.main.invalid_cesu8_string_2@PAGE
Lloh27:
	add	x8, x8, l___const.main.invalid_cesu8_string_2@PAGEOFF
	ldr	x9, [x8]
	stur	x9, [x29, #-104]
	ldr	w8, [x8, #8]
	stur	w8, [x29, #-96]
	sub	x0, x29, #104
	mov	w1, #12
	bl	_lit_is_valid_cesu8_string
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
Lloh28:
	adrp	x8, l___const.main.invalid_cesu8_string_3@PAGE
Lloh29:
	add	x8, x8, l___const.main.invalid_cesu8_string_3@PAGEOFF
	ldr	q0, [x8]
	stur	q0, [x29, #-128]
	ldr	x8, [x8, #16]
	stur	x8, [x29, #-112]
	sub	x0, x29, #128
	mov	w1, #24
	bl	_lit_is_valid_cesu8_string
	bl	_TEST_ASSERT
Lloh30:
	adrp	x8, l___const.main.valid_utf8_string_1@PAGE
Lloh31:
	add	x8, x8, l___const.main.valid_utf8_string_1@PAGEOFF
	ldr	x9, [x8]
	stur	x9, [x29, #-144]
	ldr	w8, [x8, #8]
	stur	w8, [x29, #-136]
	sub	x0, x29, #144
	mov	w1, #12
	bl	_lit_is_valid_cesu8_string
	bl	_TEST_ASSERT
	sub	x1, x29, #156
	mov	w0, #115
	bl	_lit_code_unit_to_utf8
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-156]
	cmp	w8, #115
	cset	w0, eq
	bl	_TEST_ASSERT
	sub	x1, x29, #156
	mov	w0, #1050
	bl	_lit_code_unit_to_utf8
	cmp	w0, #2
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-156]
	cmp	w8, #208
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-152]
	cmp	w8, #154
	cset	w0, eq
	bl	_TEST_ASSERT
	sub	x1, x29, #156
	mov	w0, #55295
	bl	_lit_code_unit_to_utf8
	cmp	w0, #3
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-156]
	cmp	w8, #237
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-152]
	cmp	w8, #159
	cset	w0, eq
	bl	_TEST_ASSERT
	ldur	w8, [x29, #-148]
	cmp	w8, #191
	cset	w0, eq
	bl	_TEST_ASSERT
	bl	_ecma_finalize
	bl	_jmem_finalize
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_max_bytes_in_string,4,2        ; @max_bytes_in_string
	.comm	_max_code_units_in_string,4,2   ; @max_code_units_in_string
	.comm	_test_iters,4,2                 ; @test_iters
	.comm	_test_subiters,4,2              ; @test_subiters
	.section	__TEXT,__const
	.p2align	2                               ; @__const.main.invalid_cesu8_string_2
l___const.main.invalid_cesu8_string_2:
	.long	224                             ; 0xe0
	.long	128                             ; 0x80
	.long	129                             ; 0x81

	.p2align	2                               ; @__const.main.invalid_cesu8_string_3
l___const.main.invalid_cesu8_string_3:
	.long	237                             ; 0xed
	.long	164                             ; 0xa4
	.long	129                             ; 0x81
	.long	237                             ; 0xed
	.long	191                             ; 0xbf
	.long	176                             ; 0xb0

	.p2align	2                               ; @__const.main.valid_utf8_string_1
l___const.main.valid_utf8_string_1:
	.long	237                             ; 0xed
	.long	164                             ; 0xa4
	.long	129                             ; 0x81

.subsections_via_symbols
