	.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	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TEST_INIT
	xorl	%eax, %eax
	callq	_jmem_init
	xorl	%eax, %eax
	callq	_ecma_init
	movq	_BASIC_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_jmem_heap_alloc_block
	movq	%rax, %r15
	movq	(%r13), %rdi
	callq	_jmem_heap_alloc_block
	movq	%rax, %r14
	movq	(%r13), %rdi
	callq	_jmem_heap_alloc_block
	movq	%rax, %r12
	cmpq	$0, (%r13)
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%r14,%rax,8)
	incq	%rax
	movq	(%r13), %rbx
	cmpq	%rbx, %rax
	jb	LBB0_2
LBB0_3:
	leaq	(%rbx,%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_jmem_heap_realloc_block
	movq	%rax, %r14
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	(%r14,%rbx,8), %rbx
	sete	%dil
	callq	_TEST_ASSERT
	incq	%rbx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	jb	LBB0_15
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	leaq	(%rax,%rax), %rdi
	cmpq	%rdi, %rax
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%r14,%rax,8)
	incq	%rax
	movq	(%r13), %rdi
	addq	%rdi, %rdi
	cmpq	%rdi, %rax
	jb	LBB0_16
LBB0_7:
	callq	_jmem_heap_alloc_block
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rsi
	movq	%r12, %rdi
	callq	_jmem_heap_free_block
	movq	(%r13), %rax
	leaq	(%rax,%rax), %rsi
	leaq	(%rax,%rax,2), %rdx
	movq	%r14, %rdi
	callq	_jmem_heap_realloc_block
	movq	%rax, %r12
	movq	(%r13), %rdx
	leaq	(,%rdx,2), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	(%r12,%rbx,8), %rbx
	sete	%dil
	callq	_TEST_ASSERT
	incq	%rbx
	movq	(%r13), %rdx
	leaq	(%rdx,%rdx), %rax
	cmpq	%rax, %rbx
	jb	LBB0_9
LBB0_10:
	leaq	(%rdx,%rdx,2), %rsi
	movq	%r12, %rdi
	callq	_jmem_heap_realloc_block
	movq	%rax, %r12
	cmpq	$0, (%r13)
	je	LBB0_11
## %bb.20:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	(%r12,%rbx,8), %rbx
	sete	%dil
	callq	_TEST_ASSERT
	incq	%rbx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	jb	LBB0_21
## %bb.17:
	testq	%rax, %rax
	je	LBB0_11
## %bb.18:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%r15,%rax,8)
	incq	%rax
	movq	(%r13), %rsi
	cmpq	%rsi, %rax
	jb	LBB0_19
	jmp	LBB0_12
LBB0_11:
	xorl	%esi, %esi
LBB0_12:
	leaq	(%rsi,%rsi), %rdx
	movq	%r15, %rdi
	callq	_jmem_heap_realloc_block
	movq	%rax, %r14
	cmpq	$0, (%r13)
	je	LBB0_13
## %bb.24:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	(%r14,%rbx,8), %rbx
	sete	%dil
	callq	_TEST_ASSERT
	incq	%rbx
	movq	(%r13), %rsi
	cmpq	%rsi, %rbx
	jb	LBB0_25
## %bb.22:
	addq	%rsi, %rsi
	jmp	LBB0_23
LBB0_13:
	xorl	%esi, %esi
LBB0_23:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_jmem_heap_free_block
	movq	(%r13), %rsi
	movq	%r12, %rdi
	callq	_jmem_heap_free_block
	movq	(%r13), %rsi
	addq	%rsi, %rsi
	movq	%rbx, %rdi
	callq	_jmem_heap_free_block
	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
	.comm	_BASIC_SIZE,8,3                 ## @BASIC_SIZE
.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_TEST_INIT
	bl	_jmem_init
	bl	_ecma_init
Lloh0:
	adrp	x23, _BASIC_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BASIC_SIZE@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_jmem_heap_alloc_block
	mov	x19, x0
	ldr	x0, [x23]
	bl	_jmem_heap_alloc_block
	mov	x20, x0
	ldr	x0, [x23]
	bl	_jmem_heap_alloc_block
	mov	x21, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x20, x8, lsl #3]
	add	x8, x8, #1
	ldr	x1, [x23]
	cmp	x8, x1
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x1, #0
LBB0_4:
	lsl	x2, x1, #1
	mov	x0, x20
	bl	_jmem_heap_realloc_block
	mov	x22, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, x20, lsl #3]
	cmp	x20, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	x20, x20, #1
	ldr	x8, [x23]
	cmp	x20, x8
	b.lo	LBB0_6
LBB0_7:
	lsl	x0, x8, #1
	cmp	x8, x0
	b.hs	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x22, x8, lsl #3]
	add	x8, x8, #1
	ldr	x9, [x23]
	lsl	x0, x9, #1
	cmp	x8, x0
	b.lo	LBB0_8
LBB0_9:
	bl	_jmem_heap_alloc_block
	mov	x20, x0
	ldr	x1, [x23]
	mov	x0, x21
	bl	_jmem_heap_free_block
	ldr	x8, [x23]
	lsl	x1, x8, #1
	add	x2, x1, x8
	mov	x0, x22
	bl	_jmem_heap_realloc_block
	mov	x21, x0
	ldr	x2, [x23]
	tst	x2, #0x7fffffffffffffff
	b.eq	LBB0_12
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x22, lsl #3]
	cmp	x22, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	x22, x22, #1
	ldr	x2, [x23]
	cmp	x22, x2, lsl #1
	b.lo	LBB0_11
LBB0_12:
	add	x1, x2, x2, lsl #1
	mov	x0, x21
	bl	_jmem_heap_realloc_block
	mov	x21, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_18
; %bb.13:
	mov	x22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x22, lsl #3]
	cmp	x22, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	x22, x22, #1
	ldr	x8, [x23]
	cmp	x22, x8
	b.lo	LBB0_14
; %bb.15:
	cbz	x8, LBB0_18
; %bb.16:
	mov	x8, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [x19, x8, lsl #3]
	add	x8, x8, #1
	ldr	x1, [x23]
	cmp	x8, x1
	b.lo	LBB0_17
	b	LBB0_19
LBB0_18:
	mov	x1, #0
LBB0_19:
	lsl	x2, x1, #1
	mov	x0, x19
	bl	_jmem_heap_realloc_block
	mov	x19, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_23
; %bb.20:
	mov	x22, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, x22, lsl #3]
	cmp	x22, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	add	x22, x22, #1
	ldr	x8, [x23]
	cmp	x22, x8
	b.lo	LBB0_21
; %bb.22:
	lsl	x1, x8, #1
	b	LBB0_24
LBB0_23:
	mov	x1, #0
LBB0_24:
	mov	x0, x19
	bl	_jmem_heap_free_block
	ldr	x1, [x23]
	mov	x0, x21
	bl	_jmem_heap_free_block
	ldr	x8, [x23]
	lsl	x1, x8, #1
	mov	x0, x20
	bl	_jmem_heap_free_block
	bl	_ecma_finalize
	bl	_jmem_finalize
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BASIC_SIZE,8,3                 ; @BASIC_SIZE
.subsections_via_symbols
