	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_TEST_INIT
	xorl	%eax, %eax
	callq	_jmem_init
	xorl	%eax, %eax
	callq	_ecma_init
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	leaq	_main.string_data(%rip), %r15
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$15, %edx
	callq	_ecma_stringbuilder_append_raw
	movq	%r14, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$15, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r12, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movq	_LIT_MAGIC_STRING_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r15
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_magic
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_ecma_get_magic_string
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movq	_LIT_CHAR_LOWERCASE_A@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r15
	leaq	_main.string_data.1(%rip), %rdi
	movl	$1, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r15, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	leaq	_main.string_data.2(%rip), %rdi
	movl	$15, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ecma_stringbuilder_append
	movq	%r15, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movq	%r12, %rdi
	callq	_ecma_deref_ecma_string
	movq	_LIT_MAGIC_STRING__EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ecma_get_magic_string
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	_LIT_CHAR_LOWERCASE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	_LIT_CHAR_LOWERCASE_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r15
	leaq	_main.string_data.3(%rip), %rdi
	movl	$3, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r15, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movq	_LIT_CHAR_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	_LIT_CHAR_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	_LIT_CHAR_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r15
	movl	$123, %edi
	callq	_ecma_new_ecma_string_from_uint32
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r15, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movl	$234, %edi
	callq	_ecma_new_ecma_string_from_uint32
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	leaq	_main.string_data.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_ecma_stringbuilder_append_raw
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ecma_stringbuilder_append
	movq	_LIT_MAGIC_STRING_STRING@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_magic
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r15
	leaq	_main.expected_data(%rip), %rdi
	movl	$13, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r15, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movl	$234, %edi
	callq	_ecma_new_ecma_string_from_uint32
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	leaq	_main.string_data.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_ecma_stringbuilder_append_raw
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ecma_stringbuilder_append
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_magic
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_destroy
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shrq	$4, %r12
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	leaq	1(%r12), %rbx
	leaq	_main.string_data.6(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_ecma_stringbuilder_append_raw
	decq	%rbx
	jne	LBB0_1
## %bb.2:
	leaq	-44(%rbp), %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r14
	movq	_LIT_MAGIC_STRING__EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ecma_get_magic_string
	movq	%rax, %r13
	incq	%r12
	leaq	_main.string_data.6(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_ecma_append_chars_to_string
	movq	%rax, %r13
	decq	%r12
	jne	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	movq	%r13, %rdi
	callq	_ecma_deref_ecma_string
	movl	$234, %edi
	callq	_ecma_new_ecma_string_from_uint32
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	movq	_LIT_CHAR_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_char
	leaq	_main.string_data.7(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_ecma_stringbuilder_append_raw
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ecma_stringbuilder_append
	movq	_LIT_MAGIC_STRING_STRING@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_magic
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r15
	leaq	_main.expected_data.8(%rip), %rdi
	movl	$13, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r15, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	movl	$234, %edi
	callq	_ecma_new_ecma_string_from_uint32
	movq	%rax, %rdi
	callq	_ecma_stringbuilder_create_from
	movl	%eax, -44(%rbp)
	leaq	_main.string_data.9(%rip), %rsi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_ecma_stringbuilder_append_raw
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_append_magic
	movq	%rbx, %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r14
	leaq	_main.expected_data.10(%rip), %rdi
	movl	$12, %esi
	callq	_ecma_new_ecma_string_from_utf8
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	xorl	%eax, %eax
	callq	_ecma_stringbuilder_create
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %r14
	movq	_LIT_MAGIC_STRING__EMPTY@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ecma_get_magic_string
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movl	(%r15), %edi
	callq	_ecma_get_magic_string
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ecma_stringbuilder_create_from
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	movl	(%r12), %edi
	callq	_ecma_get_magic_string
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ecma_stringbuilder_create_from
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_ecma_stringbuilder_finalize
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ecma_compare_ecma_strings
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	movq	%r14, %rdi
	callq	_ecma_deref_ecma_string
	xorl	%eax, %eax
	callq	_ecma_finalize
	xorl	%eax, %eax
	callq	_jmem_finalize
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @main.string_data
_main.string_data:
	.asciz	"A simple string"

	.comm	_LIT_MAGIC_STRING_STRING,4,2    ## @LIT_MAGIC_STRING_STRING
_main.string_data.1:                    ## @main.string_data.1
	.asciz	"a"

	.comm	_LIT_CHAR_LOWERCASE_A,4,2       ## @LIT_CHAR_LOWERCASE_A
	.p2align	4                               ## @main.string_data.2
_main.string_data.2:
	.asciz	"A simple string"

	.comm	_LIT_MAGIC_STRING__EMPTY,4,2    ## @LIT_MAGIC_STRING__EMPTY
_main.string_data.3:                    ## @main.string_data.3
	.asciz	"abc"

	.comm	_LIT_CHAR_LOWERCASE_B,4,2       ## @LIT_CHAR_LOWERCASE_B
	.comm	_LIT_CHAR_LOWERCASE_C,4,2       ## @LIT_CHAR_LOWERCASE_C
	.comm	_LIT_CHAR_1,4,2                 ## @LIT_CHAR_1
	.comm	_LIT_CHAR_2,4,2                 ## @LIT_CHAR_2
	.comm	_LIT_CHAR_3,4,2                 ## @LIT_CHAR_3
_main.string_data.4:                    ## @main.string_data.4
	.asciz	"abc"

_main.expected_data:                    ## @main.expected_data
	.asciz	"1abc234string"

_main.string_data.5:                    ## @main.string_data.5
	.asciz	"abc"

	.p2align	4                               ## @main.string_data.6
_main.string_data.6:
	.asciz	"abcdefghijklmnop"

	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
_main.string_data.7:                    ## @main.string_data.7
	.asciz	"abc"

_main.expected_data.8:                  ## @main.expected_data.8
	.asciz	"1abc234string"

_main.string_data.9:                    ## @main.string_data.9
	.asciz	"abc"

_main.expected_data.10:                 ## @main.expected_data.10
	.asciz	"234abcstring"

.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:
	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
	bl	_TEST_INIT
	bl	_jmem_init
	bl	_ecma_init
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
Lloh0:
	adrp	x19, _main.string_data@PAGE
Lloh1:
	add	x19, x19, _main.string_data@PAGEOFF
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #15
	bl	_ecma_stringbuilder_append_raw
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x20, x0
	mov	x0, x19
	mov	w1, #15
	bl	_ecma_new_ecma_string_from_utf8
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
Lloh2:
	adrp	x22, _LIT_MAGIC_STRING_STRING@GOTPAGE
Lloh3:
	ldr	x22, [x22, _LIT_MAGIC_STRING_STRING@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_magic
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
	ldr	w0, [x22]
	bl	_ecma_get_magic_string
	mov	x1, x0
	mov	x0, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
Lloh4:
	adrp	x21, _LIT_CHAR_LOWERCASE_A@GOTPAGE
Lloh5:
	ldr	x21, [x21, _LIT_CHAR_LOWERCASE_A@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
Lloh6:
	adrp	x0, _main.string_data.1@PAGE
Lloh7:
	add	x0, x0, _main.string_data.1@PAGEOFF
	mov	w1, #1
	bl	_ecma_new_ecma_string_from_utf8
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
Lloh8:
	adrp	x0, _main.string_data.2@PAGE
Lloh9:
	add	x0, x0, _main.string_data.2@PAGEOFF
	mov	w1, #15
	bl	_ecma_new_ecma_string_from_utf8
	mov	x19, x0
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	add	x0, sp, #12
	mov	x1, x19
	bl	_ecma_stringbuilder_append
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x20, x0
	mov	x1, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	x0, x19
	bl	_ecma_deref_ecma_string
Lloh10:
	adrp	x23, _LIT_MAGIC_STRING__EMPTY@GOTPAGE
Lloh11:
	ldr	x23, [x23, _LIT_MAGIC_STRING__EMPTY@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ecma_get_magic_string
	mov	x19, x0
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x1, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	ldr	w1, [x21]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh12:
	adrp	x8, _LIT_CHAR_LOWERCASE_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LIT_CHAR_LOWERCASE_B@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh15:
	adrp	x8, _LIT_CHAR_LOWERCASE_C@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LIT_CHAR_LOWERCASE_C@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
Lloh18:
	adrp	x0, _main.string_data.3@PAGE
Lloh19:
	add	x0, x0, _main.string_data.3@PAGEOFF
	mov	w1, #3
	bl	_ecma_new_ecma_string_from_utf8
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
Lloh20:
	adrp	x24, _LIT_CHAR_1@GOTPAGE
Lloh21:
	ldr	x24, [x24, _LIT_CHAR_1@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh22:
	adrp	x8, _LIT_CHAR_2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LIT_CHAR_2@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh25:
	adrp	x8, _LIT_CHAR_3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LIT_CHAR_3@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
	mov	w0, #123
	bl	_ecma_new_ecma_string_from_uint32
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	w0, #234
	bl	_ecma_new_ecma_string_from_uint32
	mov	x19, x0
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh28:
	adrp	x1, _main.string_data.4@PAGE
Lloh29:
	add	x1, x1, _main.string_data.4@PAGEOFF
	add	x0, sp, #12
	mov	w2, #3
	bl	_ecma_stringbuilder_append_raw
	add	x0, sp, #12
	mov	x1, x19
	bl	_ecma_stringbuilder_append
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_magic
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
Lloh30:
	adrp	x0, _main.expected_data@PAGE
Lloh31:
	add	x0, x0, _main.expected_data@PAGEOFF
	mov	w1, #13
	bl	_ecma_new_ecma_string_from_utf8
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	w0, #234
	bl	_ecma_new_ecma_string_from_uint32
	mov	x19, x0
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh32:
	adrp	x1, _main.string_data.5@PAGE
Lloh33:
	add	x1, x1, _main.string_data.5@PAGEOFF
	add	x0, sp, #12
	mov	w2, #3
	bl	_ecma_stringbuilder_append_raw
	add	x0, sp, #12
	mov	x1, x19
	bl	_ecma_stringbuilder_append
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_magic
	add	x0, sp, #12
	bl	_ecma_stringbuilder_destroy
Lloh34:
	adrp	x8, _UINT16_MAX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _UINT16_MAX@GOTPAGEOFF]
Lloh36:
	ldrsw	x8, [x8]
	lsr	x21, x8, #4
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	add	x20, x21, #1
Lloh37:
	adrp	x19, _main.string_data.6@PAGE
Lloh38:
	add	x19, x19, _main.string_data.6@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #16
	bl	_ecma_stringbuilder_append_raw
	subs	x20, x20, #1
	b.ne	LBB0_1
; %bb.2:
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
	ldr	w0, [x23]
	bl	_ecma_get_magic_string
	mov	x20, x0
	add	x25, x21, #1
Lloh39:
	adrp	x21, _main.string_data.6@PAGE
Lloh40:
	add	x21, x21, _main.string_data.6@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #16
	mov	w3, #16
	bl	_ecma_append_chars_to_string
	mov	x20, x0
	subs	x25, x25, #1
	b.ne	LBB0_3
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	w0, #234
	bl	_ecma_new_ecma_string_from_uint32
	mov	x19, x0
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_char
Lloh41:
	adrp	x20, _main.string_data.7@PAGE
Lloh42:
	add	x20, x20, _main.string_data.7@PAGEOFF
	add	x0, sp, #12
	mov	x1, x20
	mov	w2, #3
	bl	_ecma_stringbuilder_append_raw
	mov	x0, x20
	mov	w1, #3
	bl	_ecma_new_ecma_string_from_utf8
	mov	x20, x0
	add	x0, sp, #12
	mov	x1, x19
	bl	_ecma_stringbuilder_append
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_magic
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
Lloh43:
	adrp	x0, _main.expected_data.8@PAGE
Lloh44:
	add	x0, x0, _main.expected_data.8@PAGEOFF
	mov	w1, #13
	bl	_ecma_new_ecma_string_from_utf8
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x21
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	w0, #234
	bl	_ecma_new_ecma_string_from_uint32
	bl	_ecma_stringbuilder_create_from
	str	w0, [sp, #12]
Lloh45:
	adrp	x1, _main.string_data.9@PAGE
Lloh46:
	add	x1, x1, _main.string_data.9@PAGEOFF
	add	x0, sp, #12
	mov	w2, #3
	bl	_ecma_stringbuilder_append_raw
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_append_magic
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
Lloh47:
	adrp	x0, _main.expected_data.10@PAGE
Lloh48:
	add	x0, x0, _main.expected_data.10@PAGEOFF
	mov	w1, #12
	bl	_ecma_new_ecma_string_from_utf8
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	bl	_ecma_stringbuilder_create
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x19, x0
	ldr	w0, [x23]
	bl	_ecma_get_magic_string
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	ldr	w0, [x23]
	bl	_ecma_get_magic_string
	mov	x19, x0
	bl	_ecma_stringbuilder_create_from
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x20, x0
	mov	x1, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	ldr	w0, [x22]
	bl	_ecma_get_magic_string
	mov	x19, x0
	bl	_ecma_stringbuilder_create_from
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_ecma_stringbuilder_finalize
	mov	x20, x0
	mov	x1, x19
	bl	_ecma_compare_ecma_strings
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	bl	_ecma_finalize
	bl	_jmem_finalize
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_main.string_data:                      ; @main.string_data
	.asciz	"A simple string"

	.comm	_LIT_MAGIC_STRING_STRING,4,2    ; @LIT_MAGIC_STRING_STRING
_main.string_data.1:                    ; @main.string_data.1
	.asciz	"a"

	.comm	_LIT_CHAR_LOWERCASE_A,4,2       ; @LIT_CHAR_LOWERCASE_A
_main.string_data.2:                    ; @main.string_data.2
	.asciz	"A simple string"

	.comm	_LIT_MAGIC_STRING__EMPTY,4,2    ; @LIT_MAGIC_STRING__EMPTY
_main.string_data.3:                    ; @main.string_data.3
	.asciz	"abc"

	.comm	_LIT_CHAR_LOWERCASE_B,4,2       ; @LIT_CHAR_LOWERCASE_B
	.comm	_LIT_CHAR_LOWERCASE_C,4,2       ; @LIT_CHAR_LOWERCASE_C
	.comm	_LIT_CHAR_1,4,2                 ; @LIT_CHAR_1
	.comm	_LIT_CHAR_2,4,2                 ; @LIT_CHAR_2
	.comm	_LIT_CHAR_3,4,2                 ; @LIT_CHAR_3
_main.string_data.4:                    ; @main.string_data.4
	.asciz	"abc"

_main.expected_data:                    ; @main.expected_data
	.asciz	"1abc234string"

_main.string_data.5:                    ; @main.string_data.5
	.asciz	"abc"

_main.string_data.6:                    ; @main.string_data.6
	.asciz	"abcdefghijklmnop"

	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
_main.string_data.7:                    ; @main.string_data.7
	.asciz	"abc"

_main.expected_data.8:                  ; @main.expected_data.8
	.asciz	"1abc234string"

_main.string_data.9:                    ; @main.string_data.9
	.asciz	"abc"

_main.expected_data.10:                 ; @main.expected_data.10
	.asciz	"234abcstring"

.subsections_via_symbols
